mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
activate node after calling "scroll to active note", fixes #1685
This commit is contained in:
parent
25c2db6c3a
commit
d0eaf623a8
@ -797,7 +797,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
|||||||
const node = await this.expandToNote(activeContext.notePath);
|
const node = await this.expandToNote(activeContext.notePath);
|
||||||
|
|
||||||
await node.makeVisible({scrollIntoView: true});
|
await node.makeVisible({scrollIntoView: true});
|
||||||
node.setFocus(true);
|
node.setActive(true, {noEvents: true, noFocus: false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user