1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-07 06:16:05 +02:00

feat(web, a11y): focus management for modals and popups (#8298)

* feat(web, a11y): focus management for modals and popups

* feat: hide asset options dropdown on escape key
This commit is contained in:
Ben Basten
2024-03-27 20:55:27 +00:00
committed by GitHub
parent 9fe80c25eb
commit e1c2135850
12 changed files with 459 additions and 359 deletions

View File

@ -185,7 +185,8 @@
},
{
shortcut: { key: 'Escape' },
onShortcut: () => {
onShortcut: (event) => {
event.stopPropagation();
closeDropdown();
},
},