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

Option to avoid recursive resizing #42

Open
rmarchet opened this issue Aug 29, 2020 · 3 comments
Open

Option to avoid recursive resizing #42

rmarchet opened this issue Aug 29, 2020 · 3 comments

Comments

@rmarchet
Copy link

Hi! I'd like to know if there is an option to avoid recursive resizing. It would be useful to have a prop on the PanelGroup component to avoid it and only allow resizing of two adjacent panels.
I see there are some cases (I configured the snap in panelWidths) in which recursive resizing causes RangeError: Maximum call stack size exceeded:

PanelGroup.js:125 Uncaught RangeError: Maximum call stack size exceeded
    at PanelGroup._this.resizePanel

Thank you.

@jtlapp
Copy link

jtlapp commented Sep 2, 2020

I get this error when I put a row split inside a column split and stretch by weight.

@dbousamra
Copy link

Hmm. I am receiving this all of a sudden

@ynnelson
Copy link

ynnelson commented Dec 9, 2021

image

This is how I am setup and when I increase the minSize on line 141, it causes the stack issue.

image

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

4 participants