Repository navigation
Replies: 1 comment
|
It seems pretty similar to the collapsible section example, and you can find the implementation here. |
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.
I want to have a collapsible section with a minimum width. So the idea is that there is a toggle button that collapses/un-collapses the section, but it can never be adjusted below a specific width.
So what I did is conditionally render the collapsible section with the && in React, but as soon as I toggle it again, the section pops back at its minimum size, but it is no longer adjustable...
Is there a better way to do it?
All reactions