Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setAllowScrolling prevents scroll within the scrollable section itself #4530

Closed
alvarotrigo opened this issue Mar 20, 2023 · 1 comment
Closed

Comments

@alvarotrigo
Copy link
Owner

alvarotrigo commented Mar 20, 2023

Description

When using setAllowScrolling(false) on a section with scrollable content (using the option scrollOverflow: true) then the content on the section itself is not scrollable anymore.

There's no way to disable scrolling between sections but keep the scrollable content scrollable.

Link to isolated reproduction with no external CSS / JS

https://codepen.io/yoko-kobayashi/pen/RwYBYXe

Steps to reproduce it

  1. Scroll Down using the mouse wheel / trackpad (it works)
  2. Click on the top button that says "Don't Allow"
  3. Try scrolling down using mouse wheel / trackpad (it doesn't work)

Versions

fullPage.js 4.0.19

@alvarotrigo
Copy link
Owner Author

Fixed in fullPage.js 4.0.26! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant