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

fix(core): wrap resize observer callback in requestAnimationFrame #5441

Merged
merged 1 commit into from Feb 10, 2022
Merged

fix(core): wrap resize observer callback in requestAnimationFrame #5441

merged 1 commit into from Feb 10, 2022

Conversation

jaksenko
Copy link
Contributor

@jaksenko jaksenko commented Feb 9, 2022

Fast browser window resize produces Error: ResizeObserver loop limit exceeded. The error isn't visible in browser console, doesn't affect functionality, but degrades performance of slider. Solution is taken from https://stackoverflow.com/a/58701523/17278571.

Fixes #5440

Fast browser window resize produces `Error: ResizeObserver loop limit
exceeded`. The error isn't visible in browser console, doesn't affect
functionality, but degrades performance of slider. Solution is taken
from https://stackoverflow.com/a/58701523/17278571.

Fixes #5440
@nolimits4web nolimits4web merged commit 0567641 into nolimits4web:master Feb 10, 2022
@nolimits4web
Copy link
Owner

Merged, thanks!

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

Successfully merging this pull request may close these issues.

Error: ResizeObserver loop limit exceeded
3 participants