Open PanThomas opened 1 month ago
+1, I have the same problem
+1, I have the same problem
i fixed it like this:
const { isMobile, openMobile } = useSidebar()
if (!openMobile) {
return null
}
return ...
so far it works
Are there any ongoing modification processes? If not, I would like to make improvements. Please give me comments
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