diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js index 961053d44..a1dcc129b 100644 --- a/src/public/app/widgets/note_tree.js +++ b/src/public/app/widgets/note_tree.js @@ -813,6 +813,7 @@ export default class NoteTreeWidget extends TabAwareWidget { const activeContext = appContext.tabManager.getActiveTabContext(); if (activeContext && activeContext.notePath) { + this.tree.$container.focus(); this.tree.setFocus(true); const node = await this.expandToNote(activeContext.notePath);