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 completed with undelivered notifications #232

Open
1 of 3 tasks
nicholeuf opened this issue Dec 16, 2023 · 1 comment
Open
1 of 3 tasks

ResizeObserver loop completed with undelivered notifications #232

nicholeuf opened this issue Dec 16, 2023 · 1 comment

Comments

@nicholeuf
Copy link

nicholeuf commented Dec 16, 2023

Thanks for opening an issue!

Please select the type of issue you're reporting. For questions.

  • Bug
  • Feature Request
  • Question

Problem Report

There is a known issue with ResizeObservable and workaround using timers described in depth here juggle/resize-observer#103.

Other libraries have similar issues:

System Info

Node Version: v20.10.0
Browser: Chrome 119.0.6045.123
OS: Mac 12.6.5

Frameworks/Libraries used

react: 18.2.0
react-resizeable: 3.0.4

Reproduction

Please see description.

If this is a bug report, please provide a reproduction of the issue by going to
https://codesandbox.io/s/9229wz40yo?fontsize=14.
Paste a link here to your working reproduction.

@gabrieljablonski
Copy link

Care should be taken when implementing the setTimeout() workaround, since it may hide actual problems with the code using ResizeObserver.

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