fix(web): escape handling for tagging and adding a face in asset viewer (#26870)

This commit is contained in:
Andreas Heinz
2026-03-18 12:39:25 +01:00
committed by GitHub
parent b092c8b601
commit 694ea151f5
3 changed files with 9 additions and 3 deletions
@@ -345,8 +345,10 @@
{
shortcut: { key: 'Escape' },
onShortcut: (event) => {
event.stopPropagation();
closeDropdown();
if (isOpen) {
event.stopPropagation();
closeDropdown();
}
},
},
]}