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

Application crashes after window resize #242

Open
2 tasks
mm105 opened this issue Aug 14, 2024 · 0 comments
Open
2 tasks

Application crashes after window resize #242

mm105 opened this issue Aug 14, 2024 · 0 comments

Comments

@mm105
Copy link

mm105 commented Aug 14, 2024

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 mm105 changed the title Application crashes after resizing window Application crashes after window resize Aug 14, 2024
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

1 participant