Desktop: Fixes #11640: Pressing Shift+Tab when focus is on notebook list would jump straight to editor (#11641)

pull/11679/head
pedr 2025-01-18 09:41:18 -03:00 committed by GitHub
parent dc10ff6215
commit 29e55b8231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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');