Allow closing modals via overlay click and Esc key
Open
task
- Dominant language
- JavaScript
- Stars
- 400
- Forks
- 89
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 149
Description
### Description
Improve modal UX by enabling two additional ways to dismiss them:
- Clicking outside the modal (on the overlay/backdrop) should close the active modal
- Pressing the Esc key should also close the active modal (nice-to-have)
This should apply globally to all modals for consistent behavior across the app.
### Epic/Story
_No response_
### Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Contributor guide
Assessment
This issue has not been assessed yet.