-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet
Description
I am working on implementing react-select inside of a modal. When doing accessibility testing I noticed that if the menu is open and I press Esc, it closes the modal instead of closing the menu. I am using vaul in my project but I noticed the portaling example in the documentation (which uses atlaskit) is also having the same issue.
Expected behavior: If there is a react-select in a modal and the menu is open, pressing escape should close the menu only and the modal should stay open.
Metadata
Metadata
Assignees
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet