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

Lots of forced reflows #14

Open
Hypnosphi opened this issue Nov 4, 2019 · 0 comments
Open

Lots of forced reflows #14

Hypnosphi opened this issue Nov 4, 2019 · 0 comments

Comments

@Hypnosphi
Copy link

Hypnosphi commented Nov 4, 2019

image

Those are caused by interleaving mutations and measurements in a loop
Unfortunately, I don't know how to fix this without making clamp asynchronous. If you're OK with such a change in the next major version, fastdom library maybe of a good help

https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing#avoid_layout_thrashing

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

No branches or pull requests

2 participants