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

drawer with modal=false still closes inappropriately #331

Closed
artemis-prime opened this issue Apr 24, 2024 · 0 comments · Fixed by #332
Closed

drawer with modal=false still closes inappropriately #331

artemis-prime opened this issue Apr 24, 2024 · 0 comments · Fixed by #332

Comments

@artemis-prime
Copy link
Contributor

artemis-prime commented Apr 24, 2024

Though #109 fixed the closing issue for general mouse clicks, it did not extend the fix to two other cases:

  1. When the user clicks on a focusable element (button, input, etc)
  2. When the user presses the ESC key.

Both of these still close the drawer, even if modal=false

This is specifically referenced in #37, and #114
This may also affect #184 and others

I'm attaching a PR to this.

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.

1 participant