mirror of
https://github.com/immich-app/immich.git
synced 2026-05-22 15:42:32 -04:00
fix(web): escape handling for tagging and adding a face in asset viewer (#26870)
This commit is contained in:
@@ -345,8 +345,10 @@
|
||||
{
|
||||
shortcut: { key: 'Escape' },
|
||||
onShortcut: (event) => {
|
||||
event.stopPropagation();
|
||||
closeDropdown();
|
||||
if (isOpen) {
|
||||
event.stopPropagation();
|
||||
closeDropdown();
|
||||
}
|
||||
},
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user