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

Open
alvarotrigo opened this issue Mar 20, 2023 · 0 comments
Open
Labels

Comments

@alvarotrigo
Copy link
Owner

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

[Ideally in jsfiddle.net (https://jsfiddle.net/alvarotrigo/ea17skjr) or codepen.io (https://codepen.io/alvarotrigo/pen/NxyPPp), links to personal websites won't be reviewed unless isolated. Reported issues without a reproduction might get closed.]

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

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

No branches or pull requests

1 participant