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

How to collapse/open programatically? #86

Open
igo opened this issue Jul 16, 2021 · 3 comments
Open

How to collapse/open programatically? #86

igo opened this issue Jul 16, 2021 · 3 comments

Comments

@igo
Copy link

igo commented Jul 16, 2021

Is there a way to collapse/open panel programatically? Changing collapsedSizes doesn't seem to work.

@linonetwo
Copy link

linonetwo commented Aug 15, 2021

This is a problem if the container of SplitPane is not unmount and remount ( for example, you have three tabs ,each have a SplitPane, but they reuses the same SplitPane, then changes of tab won't affect the SplitPane's collapsedSizes and initialSizes)

So the solution is to let each tab have its own SplitPane instance.

@Aishwaryakakade
Copy link

Aishwaryakakade commented Jun 30, 2023

@linonetwo Could you please elaborate this or explain with an example

@linonetwo
Copy link

I should have done that, but now i don't have access to the secret code repository in previous company.

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

3 participants