Open PanThomas opened 5 days ago
https://ui.shadcn.com/blocks#sidebar-07
If you open multiple dropdown menus on a phone screen and close the sidebar, the whole app freezes.
Sidebar
No response
google chrome, windows 11
+1, I have the same problem
i fixed it like this:
const { isMobile, openMobile } = useSidebar() if (!openMobile) { return null } return ...
so far it works
Describe the bug
https://ui.shadcn.com/blocks#sidebar-07
If you open multiple dropdown menus on a phone screen and close the sidebar, the whole app freezes.
Affected component/components
Sidebar
How to reproduce
Codesandbox/StackBlitz link
https://ui.shadcn.com/blocks#sidebar-07
Logs
No response
System Info
Before submitting