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

Prevent UI updates when tab/page is hidden. #65

Open
pgregory opened this issue Feb 3, 2017 · 0 comments
Open

Prevent UI updates when tab/page is hidden. #65

pgregory opened this issue Feb 3, 2017 · 0 comments

Comments

@pgregory
Copy link
Owner

pgregory commented Feb 3, 2017

Description

Use the page visibility API to determine if the page is visible to prevent queuing up UI updates when the page is not visible and requestAnimationFrame callbacks will be paused. The result at the moment seems to be a sudden rush to redraw multiple times when the tab becomes visible again, causing stuttering.

@pgregory pgregory added this to Holding in Roadmap/Backlog Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant