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

Delay re-scans until idle-time #6

Open
AshleyWright opened this issue Jul 13, 2018 · 0 comments
Open

Delay re-scans until idle-time #6

AshleyWright opened this issue Jul 13, 2018 · 0 comments

Comments

@AshleyWright
Copy link
Owner

Is your feature request related to a problem? Please describe.
Even though resize handler is throttled, due to computation time scaling with number of DOM nodes, jank can still be an issue.

Describe the solution you'd like
Since during a resize the user is not actively reading, delaying the resize handler to idle time would likely be an acceptable solution using requestIdleCallback

Describe alternatives you've considered
If CSS Properties and Values offers a way of watching for property changes (currently looking like level 2 of P&V) re-scans will prove unnecessary.

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

1 participant