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
dismissible
onOpenChange
I don't want to allow to close the drawer by clicking to overlay. Property dismissible with value to false work like that.
false
The problem is when I use onOpenChange and open property with that. It stop working as it should.
open
Here is a reproduction demo: https://codesandbox.io/p/devbox/drawer-with-scale-forked-wwngth
The text was updated successfully, but these errors were encountered:
Try this:
<Drawer.Content onPointerDownOutside={event => event.preventDefault()} onEscapeKeyDown={event => event.preventDefault()} >
Sorry, something went wrong.
Have the same issue here, any fix?
Try this: <Drawer.Content onPointerDownOutside={event => event.preventDefault()} onEscapeKeyDown={event => event.preventDefault()} >
This wouldn't work if you have to control the open state by using onOpenChange.
Successfully merging a pull request may close this issue.
I don't want to allow to close the drawer by clicking to overlay.
Property
dismissible
with value tofalse
work like that.The problem is when I use
onOpenChange
andopen
property with that. It stop working as it should.Here is a reproduction demo: https://codesandbox.io/p/devbox/drawer-with-scale-forked-wwngth
The text was updated successfully, but these errors were encountered: