-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Unable to scroll #378
Comments
I think removing <Drawer.Overlay/> from App.jsx will fix the scrolling issue, is that correct? |
Yes, it does. Thanks. |
Looking at the documentation again, it looks like You don't need to remove the <Drawer.Overlay>, you just need to change the modal attribute to false on the <Drawer.Root>. <Drawer.Root modal={false}> Based on the code you've provided, I'd probably write something like this to accomplish your intention <Drawer.Root modal={!isOpen} direction="right"> |
I have a scrollable content inside Modal (Portal) which lives inside Drawer.
Link to reproduce:
https://stackblitz.com/edit/vitejs-vite-kizhhi
How to reproduce
Also on pressing "Esc" both drawer is being dismissed (expected to only dismiss modal if modal is active)
The text was updated successfully, but these errors were encountered: