Mighty
Mighty

Reputation: 43

React Fullpage: How to scroll a portion of a section without scrolling the whole section

I have a webpage built with React Fullpage where there's a nested scroll box in the first section. I want to be able to scroll within that scrollbox without causing the whole section to scroll away to the next section. I have tried to prevent scroll event bubbling but it doesn't work. Can I get any help?

Upvotes: 0

Views: 2319

Answers (1)

Alvaro
Alvaro

Reputation: 41605

Have you tried using the option normalScrollElements for it? You can read more about it on the the fullpage.js documentation

Upvotes: 1

Related Questions