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

Double-click on handle closes the drawer even if dismissible is set to false #362

Open
franciscohanna92 opened this issue May 28, 2024 · 1 comment · May be fixed by #363
Open

Double-click on handle closes the drawer even if dismissible is set to false #362

franciscohanna92 opened this issue May 28, 2024 · 1 comment · May be fixed by #363

Comments

@franciscohanna92
Copy link

franciscohanna92 commented May 28, 2024

A non-dimissible drawer will still close when double-clicking the drag handle.

Reproduction: Codesandbox

@EladBezalel
Copy link

EladBezalel commented Jul 11, 2024

I ended up doing

React.cloneElement(<Drawer.Handle />, {
  onDoubleClick: () => {},
})}

Hopefully your fix will get merged soon 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants