How to implement a collapsible panel collapsed by default ? #529
Unanswered
seedydocloop
asked this question in
Q&A
Replies: 1 comment
-
|
What have you tried? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hey everyone 👋
I'm having trouble implementing some state and rendering logic around a panel which would be collapsed by default.
I'd need a prop which would trigger rerender whenever panel collapsed state changes.
In the same time, I would need to keep the previous size value of my panel, so that triggering an "expand" would expand it back to its default value.
Beta Was this translation helpful? Give feedback.
All reactions