You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is easy to work around (I have a wrapper around allotment that just only includes children if visible), but wanted to confirm that this is expected behavior.
Thanks! 🙂
The text was updated successfully, but these errors were encountered:
I'm not a developer, but for me personally this is a very convenient behavior. Sometimes you need to expand one panel to the entire screen based on an event, and it would not be very convenient if the state of hidden panels was reset due to the component being unmounted.
Perhaps this behavior should be controlled through an additional prop in the panel
Repro: https://codesandbox.io/s/infallible-wozniak-s6qvcn?file=/src/App.tsx (see that the text is printed in the console)
This is easy to work around (I have a wrapper around
allotment
that just only includeschildren
ifvisible
), but wanted to confirm that this is expected behavior.Thanks! 🙂
The text was updated successfully, but these errors were encountered: