-
Notifications
You must be signed in to change notification settings - Fork 148
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
upTolerance not working #172
Comments
I'm wondering about the same thing. Any update? |
@markatli No update/solution from me, unfortunately. Ended up omitting that prop. |
same problem. |
The reason why this is not working is that there are multiple events emitted during the scroll; and it's very unlikely that the user could scroll so fast that there would be an event with 100px scroll distance. It's the same case in the original vanilla js headroom lib: https://wicky.nillia.ms/headroom.js/playroom/. Just open the playground and change the tolerance to 100 - it also won't work for the same reason mentioned above. |
I have a component:
The header does not come down after scrolling up 100px as expected. Instead, it remains hidden until the top of the page is reached.
The text was updated successfully, but these errors were encountered: