Skip to content

ResizeObserver loop limit exceeded #516

Closed
@okhvr

Description

@okhvr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions