mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
activate node after calling "scroll to active note", fixes #1685
This commit is contained in:
@@ -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});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user