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 #319

Open
godserahul1986 opened this issue Apr 29, 2020 · 1 comment
Open

ResizeObserver loop limit exceeded #319

godserahul1986 opened this issue Apr 29, 2020 · 1 comment

Comments

@godserahul1986
Copy link

We are using this package to display notifications for our app. We are setting the notifications container scrollTop to 0 inside of requestAnimationFrame to show any new unseen notifications.

Recently our JS error logging framework started throwing this error ResizeObserver loop limit exceeded and our assumption based on some research is its because of this dynamic updating of the notifications container element.

Just wanted to check on if this issue has been seen by anyone. Its not breaking the page but creating a lot of noise on our JS error logging framework.

References for research:
WICG/resize-observer#38
https://developers.google.com/web/updates/2016/10/resizeobserver

@steveszc
Copy link

steveszc commented May 6, 2020

FWIW we've also seen this error show up in our error logger.

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