mirror of
https://github.com/zadam/trilium.git
synced 2026-04-04 19:19:07 +02:00
fix focusing tree from note detail, closes #1897
This commit is contained in:
@@ -813,6 +813,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
const activeContext = appContext.tabManager.getActiveTabContext();
|
||||
|
||||
if (activeContext && activeContext.notePath) {
|
||||
this.tree.$container.focus();
|
||||
this.tree.setFocus(true);
|
||||
|
||||
const node = await this.expandToNote(activeContext.notePath);
|
||||
|
||||
Reference in New Issue
Block a user