Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Shadcn UI drawer: disablePreventScroll={true} does not make the scroll bar appear and it's not scrollable #4073

Open
2 tasks done
anhtuanbui opened this issue Jun 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@anhtuanbui
Copy link

anhtuanbui commented Jun 22, 2024

Describe the bug

Shadcn UI drawer: disablePreventScroll={true} does not make the scroll bar appear and it's not scrollable

I'm using the drawer from this example https://codesandbox.io/p/devbox/drawer-direction-right-n338ml?file=%2Fapp%2Fmy-drawer.tsx%3A7%2C5-45%2C19

I want the scroll bar to be scrollable but it's not working with disablePreventScroll={true}

Affected component/components

Scrollbar

How to reproduce

The example is in this sandbox

https://codesandbox.io/p/devbox/drawer-direction-right-n338ml?file=%2Fapp%2Fmy-drawer.tsx%3A7%2C5-45%2C19

Codesandbox/StackBlitz link

https://codesandbox.io/p/devbox/drawer-direction-right-n338ml?file=%2Fapp%2Fmy-drawer.tsx%3A7%2C5-45%2C19

Logs

No response

System Info

Browsers

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@anhtuanbui anhtuanbui added the bug Something isn't working label Jun 22, 2024
@anhtuanbui anhtuanbui changed the title [bug]: disablePreventScroll={true} does not make the scroll bar appear and it's not scrollable [bug]: Shadcn UI drawer: disablePreventScroll={true} does not make the scroll bar appear and it's not scrollable Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant