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
I have just started to use this project and was playing around with the "Mail" example. I made some modifications and included additional routes and noticed that when I navigate to a different route, the value of isCollapsed is restored to default. i.e. if the sidebar was collapsed before navigation, after navigation it's no longer collapsed. This might not be specific to this project, but I was just wondering what would be the recommended way to persist the collapsed state of this sidebar?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have just started to use this project and was playing around with the "Mail" example. I made some modifications and included additional routes and noticed that when I navigate to a different route, the value of
isCollapsed
is restored to default. i.e. if the sidebar was collapsed before navigation, after navigation it's no longer collapsed. This might not be specific to this project, but I was just wondering what would be the recommended way to persist the collapsed state of this sidebar?For reference, this resizable pane
Beta Was this translation helpful? Give feedback.
All reactions