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

ResizeObserver loop limit exceeded #516

Closed
okhvr opened this issue Sep 30, 2020 · 1 comment
Closed

ResizeObserver loop limit exceeded #516

okhvr opened this issue Sep 30, 2020 · 1 comment

Comments

@okhvr
Copy link
Contributor

okhvr commented Sep 30, 2020

When I change the size of the scroller, then ResizeObserver throws the error:

  • "ResizeObserver loop limit exceeded" in Chrome
  • "ResizeObserver loop completed with undelivered notifications." in Firefox.

This error doesn't break anything, as is written here:

This error means that ResizeObserver was not able to deliver all observations within a single animation frame. It is benign (your site will not break).

However, I need to ignore it in my apps to avoid showing it for users and reporting in bugsnag.

The suggestion is to wrap ResizeObserver in requestAnimationFrame to avoid this error

@agaripian
Copy link

seeing this issue in our logs too

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

2 participants