Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
activate node after calling "scroll to active note", fixes #1685
zadamd0eaf623a87a
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.jsindex 8ee88ebb3f..37d7c5b8b5 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});}}