Sidebar hides on mobile view #6264
sapkotagaurav
started this conversation in
General
Replies: 2 comments
-
also got this problem need help |
Beta Was this translation helpful? Give feedback.
0 replies
-
Idea is to put < SidebarTrigger /> outside of the main < Sidebar /> component or your project's sidebar component so, user can view and toggle whenever they want Exmple: Put < SidebarTrigger /> in layout.tsx in nextjs as in shadcn example
|
Beta Was this translation helpful? Give feedback.
0 replies
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 have implemented the sidebar with collapse button. The collapse button is inside the sidebar, and the sidebar hides in mobile view. There is no way to access the sidebar in mobile view. I want it to collapse to icons instead of hiding.
This can also be seen on some shadcn blocks.
https://ui.shadcn.com/view/styles/new-york/sidebar-13
sidebar in dialog
https://ui.shadcn.com/view/styles/new-york/sidebar-15
right sidebar in this case
Beta Was this translation helpful? Give feedback.
All reactions