[Accessibility] Pressing Esc
to close a dropdown menu closes extension window
#12525
Open
1 task done
Steps To Reproduce
Esc
to close the dropdownExpected Result
Esc
should close the menu, reset focus back to the button to open the menuActual Result
The extension's window is closed
Screenshots or Videos
bitwarden-dropdown-menu-esc-to-close-closes-extension.mp4
Video: Chrome/Windows, opening "Vault" dropdown menu with the keyboard, navigating up/down with cursor keys, pressing
Esc
to close menuAdditional Context
This does not happen when extension has been popped out into its own window - there, it behaves correctly. Suspect the solution here is to prevent the
Esc
keypress from bubbling up and triggering the "close the entire extension popup" behaviour.This happens with all instances of custom dropdown menus, like the "+ New" button menu, the "New send" one, etc.
Operating System
Windows
Operating System Version
11
Web Browser
Chrome
Browser Version
131.0.6778.205 (Official Build) (64-bit)
Build Version
2024.12.2
Issue Tracking Info
The text was updated successfully, but these errors were encountered: