react-grid-layout / react-resizable

A simple React component that is resizable with a handle.

Home Page:https://strml.github.io/react-resizable/examples/1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.