Next.js Discord

Discord Forum

shadcn sidebar not working

Unanswered
American Wirehair posted this in #help-forum
Open in Discord
American WirehairOP
hi guys, after migrating to tailwind v4, our shadcn sidebar isnt working anymore. in the monorepo, we got a ui and web app. I've also created a test app, using the same sidebar from the ui package and a minimal sidebar, there the exact same is working. what could be the problem?

3 Replies

Yellowstripe scad
@American Wirehair check if the styles are being applied correctly on the sidebar by inspecting the element
@Yellowstripe scad <@959771566760140840> check if the styles are being applied correctly on the sidebar by inspecting the element
American WirehairOP
yes, it is. also, if I click on the SidebarTrigger, the state gets set, but the sidebar will not be shown
American WirehairOP
on mobile, the sidebar is working btw. only on desktop not