react-resizable icon indicating copy to clipboard operation
react-resizable copied to clipboard

Application crashes after window resize

Open mm105 opened this issue 1 year ago • 0 comments

Thanks for opening an issue!

  • [ ] Bug
  • [ ] Feature Request
  • Question

Problem Report

In our application we are using react-grid-layout and react-resizable libararies. On main page of applicaiton, on the left size there is grid (created using react-grid-layout) with few items/cards, and on the right size there is panel that should be resizable, and this is done using react-resizable. Regarding functionality, everything works fine, except when there is some window resizing. We noticed that upon window resizing (either whole window, or for example just devtools tab), applicaton (browser tab) would crash after just few attempts to resize window. We also noticed that this happens sometimes when you move window from larger to smaller screen (from monitor to laptop) and vice versa. Since this wasn't happening before implementation of resize functionality with react-resizable, we did some stress testing on windows resize on previouse version of application (that didn't have react-resizable, but did have react-grid-layout), and everything was smooth and fine.

Do you have any idea why this may happening and whether the issue is internal implementation of react-resizable?

System Info

Node Version: v20.12.2 Browser: Chrome Version 127.0.6533.100 OS: WIndows 11 React version: 17.0.2

mm105 avatar Aug 14 '24 15:08 mm105