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

Feature request: Hiding panels #179

Open
AleksandrSl opened this issue Mar 9, 2022 · 1 comment
Open

Feature request: Hiding panels #179

AleksandrSl opened this issue Mar 9, 2022 · 1 comment

Comments

@AleksandrSl
Copy link

One can hide the panel by settings its width/height to zero. However, we are still able to drag the border of zero width panel and open it. There are situations when we want to close the panel and restrict it from appearance.
One could remove the panel from the template provided to mosaic component, but this requires too much spaghetti logic if one has multiple possible combinations of opened/closed panels.
Is it feasible to add some attribute for example hidden/closed to the template to utterly hide the panel without removing it from the value passes to mosaic component? (I managed to write some generic code for this, but having this in the library would be cool)

Maybe there is already a way to do this? (I tried to search SO and issue to no avail)

Thank you for your time!

@enzotar
Copy link

enzotar commented Aug 31, 2022

#159 (comment) but an example to hide/reinsert individual panels, after some panel movements, would be helpful

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

2 participants