We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use a controlled Drawer:
<Drawer.Root open={open} onOpenChange={onOpenChange} direction="right" modal={false} >...</Drawer.Root>
When I open the Drawer by toggling the open prop, pointer-events: none is added to the body. This means anything outside the Drawer isn't clickable.
open
pointer-events: none
Opening/closing via Drawer.Trigger works as expected, without block body pointer-events.
Drawer.Trigger
When modal={false} I'd expect to be able to interact with the rest of the document outside of the Drawer when it's open.
modal={false}
Here's some code showing the issue on Replit.
The text was updated successfully, but these errors were encountered:
A dup of #492
Sorry, something went wrong.
No branches or pull requests
I'm trying to use a controlled Drawer:
Actual behaviour
When I open the Drawer by toggling the
open
prop,pointer-events: none
is added to the body. This means anything outside the Drawer isn't clickable.Opening/closing via
Drawer.Trigger
works as expected, without block body pointer-events.Expected behaviour
When
modal={false}
I'd expect to be able to interact with the rest of the document outside of the Drawer when it's open.Test case
Here's some code showing the issue on Replit.
The text was updated successfully, but these errors were encountered: