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

Set will-change only if in viewport or near the viewport #20

Closed
garthenweb opened this issue Sep 17, 2018 · 0 comments
Closed

Set will-change only if in viewport or near the viewport #20

garthenweb opened this issue Sep 17, 2018 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@garthenweb
Copy link
Owner

When the will-change property is always set, browsers will probably ignore it or over optimize which both is not the idea. It should only be set in case the Components are within the viewport or might come into the viewport within the next seconds.

@garthenweb garthenweb added bug Something isn't working enhancement New feature or request labels Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant