ui
ui copied to clipboard
fix(www): vaul drawer wrapper is causing the side bar to break its stickiness
https://github.com/shadcn-ui/ui/assets/86073083/082b90a2-d37c-4e75-bce0-746da1f7a6ba
The sidebar stickiness breaks when you open and close the vaul drawer. This happens because the wrapper adds overflow:hidden to the parent element and doesn't remove it after the drawer is closed. There could be another solution to remove the overflow completely, but instead, this scopes the vaul wrapper to only affect the main document so that the sidebar remains unaffected.
@Bekacru is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.