mirror of https://github.com/laurent22/joplin.git
Desktop: Fixes #11640: Pressing Shift+Tab when focus is on notebook list would jump straight to editor (#11641)
parent
dc10ff6215
commit
29e55b8231
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue