Skip to content

Commit

Permalink
fix(keys): drop esc for done in read only mode
Browse files Browse the repository at this point in the history
* Does not work right now.
* Would conflict with esc key use for viewer and other keyboard nav.

Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Dec 16, 2024
1 parent 72880c9 commit 2c7eae3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/Menu/entries.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export const ReadOnlyEditEntries = [{
export const ReadOnlyDoneEntries = [{
key: 'done',
label: t('text', 'Done'),
keyChar: 'esc',
icon: PencilOff,
click: ({ $readOnlyActions }) => $readOnlyActions.toggle(),
}]
Expand Down

0 comments on commit 2c7eae3

Please sign in to comment.