From 2c7eae387e5061f41f934403d01a47a882616f8b Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 16 Dec 2024 10:25:27 +0100 Subject: [PATCH] fix(keys): drop esc for done in read only mode * Does not work right now. * Would conflict with esc key use for viewer and other keyboard nav. Signed-off-by: Max --- src/components/Menu/entries.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Menu/entries.js b/src/components/Menu/entries.js index 4833f27543b..f44cbf3a229 100644 --- a/src/components/Menu/entries.js +++ b/src/components/Menu/entries.js @@ -66,7 +66,6 @@ export const ReadOnlyEditEntries = [{ export const ReadOnlyDoneEntries = [{ key: 'done', label: t('text', 'Done'), - keyChar: 'esc', icon: PencilOff, click: ({ $readOnlyActions }) => $readOnlyActions.toggle(), }]