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

jQuery scroll backup #53

Open
emcniece opened this issue Apr 17, 2016 · 0 comments
Open

jQuery scroll backup #53

emcniece opened this issue Apr 17, 2016 · 0 comments
Labels

Comments

@emcniece
Copy link
Collaborator

If jQuery execution is blocked for whatever reason (debugger pause, tab change, etc) it will continue to queue up animation events, then it executes them once the process is unblocked (debugger play, return to tab). If there are many terminal lines that have come in since the process was blocked, the user cannot scroll until every jQuery scroll animation has completed, synchronously. This takes a while if there are hundreds of animations queued up.

This behavior can be found in other jQuery animations like slideshows and non-CSS animations, and is exhibited in browsers that block non-active tab processes to save resources.

Not sure how to fix this - detect if the tab is active before executing the page scroll animation?

@emcniece emcniece added the bug label Apr 17, 2016
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