mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 20:21:43 +08:00
activate node after calling "scroll to active note", fixes #1685
This commit is contained in:
parent
25c2db6c3a
commit
d0eaf623a8
1 changed files with 1 additions and 1 deletions
|
@ -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});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue