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

Polyfilled smooth scroll slower than native implementations with long distances #14

Open
prietveld opened this issue Aug 27, 2020 · 1 comment

Comments

@prietveld
Copy link

I found that current computations for the polyfilled smooth scroll behavior make scrolling take a long time to 'ramp up' when scrolling over longer distances, like 'back to top' from a long list (several screen lengths) of search results, which makes such an action seem unresponsive. This is different from implementations in Chrome and Firefox, which appear 'snappier' in these cases.

Would it be possible to take another look at the code for animated scrolling, or make this configurable?

@eric-blue
Copy link

noticing this too, slows down quite a bit when the page is only moderately long (mine is ~13,000 px)

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

No branches or pull requests

2 participants