[Accessibility] Pressing Esc
to close a select dropdown/menu closes modal dialog
#12539
Open
1 task done
Steps To Reproduce
Esc
to close the selectExpected Result
The select/dropdown closes, focus returns to the closed dropdown/menu trigger element, but the modal settings dialog remains open.
Actual Result
Both the select dropdown/menu and the settings dialog itself are closed.
Screenshots or Videos
bitwarden-desktop-dropdown-menu-esc.mp4
Video: in Windows, opening the "Vault timeout" select dropdown/menu with the keyboard, then pressing
Esc
to close it - both the select and the actual settings dialog are closed.Additional Context
Suspect the solution here is to prevent the
Esc
keypress from bubbling up and triggering the "close the entire dialog" behaviour.Similar issue filed for the browser extension: #12525
Operating System
Windows
Operating System Version
11
Installation method
Direct Download (from bitwarden.com)
Build Version
2024.12.1
Issue Tracking Info
The text was updated successfully, but these errors were encountered: