Skip to content

Commit

Permalink
Desktop: Fixes #11640: Pressing Shift+Tab when focus is on notebook l…
Browse files Browse the repository at this point in the history
…ist would jump straight to editor (#11641)
  • Loading branch information
pedr authored Jan 18, 2025
1 parent dc10ff6 commit 29e55b8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ const useOnSidebarKeyDownHandler = (props: Props) => {
indexChange = -1;
} else if (event.code === 'ArrowDown') {
indexChange = 1;
} else if (event.code === 'Tab' && event.shiftKey) {
event.preventDefault();

void CommandService.instance().execute('focusElement', 'noteBody');
} else if (event.code === 'Enter' && !event.shiftKey) {
event.preventDefault();
void CommandService.instance().execute('focusElement', 'noteList');
Expand Down

0 comments on commit 29e55b8

Please sign in to comment.