Closed appletreeisyellow closed 1 year ago
Describe the bug
The DraggableResizer doesn't seem to collapse correctly when there are odd number of panels
DraggableResizer
To Reproduce Steps to reproduce the behavior:
DraggableResizer.stories.tsx
4 Panels
positions
[0.25, 0.8]
isCollapsible={true}
npm run storybook
Expected behavior The third panel should collpse
Screenshots
https://user-images.githubusercontent.com/14298407/190728718-f33558d5-3603-4597-898c-62734f8d86c0.mov
Browser
Describe the bug
The
DraggableResizer
doesn't seem to collapse correctly when there are odd number of panelsTo Reproduce Steps to reproduce the behavior:
DraggableResizer.stories.tsx
the example with4 Panels
positions
to be[0.25, 0.8]
isCollapsible={true}
for the second panel and add it to the third panelnpm run storybook
Expected behavior The third panel should collpse
Screenshots
https://user-images.githubusercontent.com/14298407/190728718-f33558d5-3603-4597-898c-62734f8d86c0.mov
Browser