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

Fix behaviour when user starts to scroll before load scroll is triggered #7

Open
dakur opened this issue Jun 8, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dakur
Copy link

dakur commented Jun 8, 2020

Current state

It is not handled directly, but there is a 500 ms timeout after which load scroll is not triggered. So if user starts scrolling after 500 ms from DOMContentLoaded, scrolling is not hijacked by SmoothScroll.

Wanted state

Script should listen to scroll events and cancel load scroll triggering regardless of any time measure.

@dakur dakur added the bug Something isn't working label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant