diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js index 8ee88ebb3..37d7c5b8b 100644 --- a/src/public/app/widgets/note_tree.js +++ b/src/public/app/widgets/note_tree.js @@ -797,7 +797,7 @@ export default class NoteTreeWidget extends TabAwareWidget { const node = await this.expandToNote(activeContext.notePath); await node.makeVisible({scrollIntoView: true}); - node.setFocus(true); + node.setActive(true, {noEvents: true, noFocus: false}); } }