You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to prevent a section to fit the screen when you declare fullpage_api.setFitToSection(false)
during the delay period of fitToSectionDelay? As of now you have to wait for the delay to run out before it's disabled.
I was aiming to disable or enable it when the user scrolls past different parts of the page. But once it was enabled it had to fit to a section before it was disabled, no matter how long you scrolled for.
Is there a way to prevent a section to fit the screen when you declare fullpage_api.setFitToSection(false)
during the delay period of fitToSectionDelay? As of now you have to wait for the delay to run out before it's disabled.
Using the demo from the documentation https://codepen.io/alvarotrigo/pen/GJXNYm and reproduce the following steps:
The closest section still scrolls to the top even though I would assume the function is disabled.
fullPage.js v4.0.20
The text was updated successfully, but these errors were encountered: