ResizeObserver loop completed with undelivered notifications
nicholeuf opened this issue · comments
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.
Care should be taken when implementing the setTimeout()
workaround, since it may hide actual problems with the code using ResizeObserver
.