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

Use ResizeObserver #371

Open
schorfES opened this issue Oct 27, 2022 · 0 comments
Open

Use ResizeObserver #371

schorfES opened this issue Oct 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@schorfES
Copy link
Owner

Instead to listen on window resizes it would be beneficial to use a ResizeObserver instead: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver

This would prevent to perform unnecessary update actions.

@schorfES schorfES added the enhancement New feature or request label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant