Sidebar Tablet Mode? #7636
undead-reaper
started this conversation in
General
Replies: 0 comments
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 am using Sidebar in an application where I would like it to remain in the collapsed state at tablet breakpoints (md < width > xl) however there's no such option. I already tried creating a hook similar to the
useMobile
hook in order to set the state usingsetOpen()
however as soon as I click on a navigation item the sidebar expands again and the trigger needs to be manually pressed again to collapse it. Does anyone have any suggestions? I'm using theicon
collapsed modeBeta Was this translation helpful? Give feedback.
All reactions