mirror of
https://github.com/immich-app/immich.git
synced 2026-07-05 20:57:40 +00:00
fix(web): unblock escape after opening context menu (#26325)
This commit is contained in:
parent
6f7fc94710
commit
dd632f38de
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ export const contextMenuNavigation: Action<HTMLElement, Options> = (node, option
|
|||
const { destroy } = shortcuts(node, [
|
||||
{ shortcut: { key: 'ArrowUp' }, onShortcut: (event) => moveSelection('up', event) },
|
||||
{ shortcut: { key: 'ArrowDown' }, onShortcut: (event) => moveSelection('down', event) },
|
||||
{ shortcut: { key: 'Escape' }, onShortcut: (event) => onEscape(event) },
|
||||
{ shortcut: { key: 'Escape' }, onShortcut: (event) => onEscape(event), preventDefault: false },
|
||||
{ shortcut: { key: ' ' }, onShortcut: (event) => handleClick(event) },
|
||||
{ shortcut: { key: 'Enter' }, onShortcut: (event) => handleClick(event) },
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue