ui icon indicating copy to clipboard operation
ui copied to clipboard

fix(www): vaul drawer wrapper is causing the side bar to break its stickiness

Open Bekacru opened this issue 1 year ago • 1 comments

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 avatar Dec 22 '23 22:12 Bekacru

@Bekacru is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 22 '23 22:12 vercel[bot]