Sidebar not visible in the desktop mode #5471
Replies: 8 comments 3 replies
-
I'm also having this problem. If someone know how to fix this issue please do tell. TIA |
Beta Was this translation helpful? Give feedback.
-
any solution yet? if i change hidden to flex it works but again. not able to see what's in sidebar. it just opens and closes. sidebar.jsx |
Beta Was this translation helpful? Give feedback.
-
found the solution. className="group peer flex md:block text-sidebar-foreground" return ( {children} ) ); }) Sidebar.displayName = "Sidebar" |
Beta Was this translation helpful? Give feedback.
-
Hey @rajat1saxena , did you find a solution for the dynamic open-close sidebar issue? The solution shared by @loveurlife1 doesn’t seem to support toggling the sidebar via the button. For reference, I’m using Sidebar 07. |
Beta Was this translation helpful? Give feedback.
-
For me the issue was I didn't have the breakpoints setup correctly in my tailwind config. |
Beta Was this translation helpful? Give feedback.
-
I hope this can help somebody. I've learned that it's always worht checking tailwind config again. When it's broken, you don't get errors or hints about it. But basically my tailwind config js was pointing to the shadcn components folder but the path was wrong, so the styles were simply not even kicking in. After hours I finally realized, corrected the path and it started working. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I added sidebar 08 to my app and it does not show the sidebar in the desktop mode. In the mobile view, it does!
Simply installed the block in an existing app. I am using both Pages and the App routers.
Beta Was this translation helpful? Give feedback.
All reactions