johnwalley / allotment

A React component for resizable split views
https://allotment.mulberryhousesoftware.com/
MIT License
990 stars 55 forks source link

When i change visible to `true` -> `false` -> `true`, how do you remember the width? #692

Open luke358 opened 1 year ago

luke358 commented 1 year ago

https://stackblitz.com/edit/stackblitz-starters-myyidd?file=src%2FApp.tsx

dbclick button, panel 3 has an error width

dklymenk commented 1 week ago

It appears that it is only an issue when two or more panes become visible at the same time.

This issue can also be reproduced by adding another pane to the example in the docs.

https://github.com/user-attachments/assets/5b4c28f0-468d-4009-819f-c8c09a36f810

@luke358 Have you found a solution?