How to implement a "fullscreen" functionality (collapsing and expanding multiple panels at the same time)? #333
-
Repro: https://codesandbox.io/p/sandbox/react-resizable-panels-forked-kfqmkl The problem really is that on the first collapse, we have: {
"panel-1": 33.3333333334,
"panel-2": 66.6666666667
} When we toggle fullscreen and therefore expand, we expand
Aside from it not working like how I would like, this feels like the wrong approach altogether. |
Beta Was this translation helpful? Give feedback.
Answered by
samesfahani-tuplehealth
Apr 9, 2024
Replies: 1 comment
-
Strategy of saving/restoring layouts works: https://codesandbox.io/p/sandbox/react-resizable-panels-forked-lqf99z |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
samesfahani-tuplehealth
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Strategy of saving/restoring layouts works: https://codesandbox.io/p/sandbox/react-resizable-panels-forked-lqf99z
Marking as answer.