shichongrui / obsidian-reveal-active-file

Obsidian plugin to reveal the active file automatically when you open a file
86 stars 10 forks source link

Note focus behaviors #18

Open carugnom opened 1 year ago

carugnom commented 1 year ago

By using this plugin, when I open a note, that note is selected in the navigation pane, but also the focus changes to it. That causes the 'navaigate back' and 'navigate forward' key shortcuts stop working, because those shortcuts work differently on the navigation pane. In other words, after opening a note, Ctrl+Alt+left and Ctrl+Alt+right behave not as expected and I have to click on the note pane to get them back to normal.

Other than that, it would be good that when I open a note the navigation pane would scroll as needed in order for the note entry to be visible in the viewport. Currently when I open a note and that note entry is out of the viewport in the navigation pane, the note gets 'selected' but is not 'visible'.

hytor-yang commented 1 year ago

Same problem to me. In #11 pjeby suggested a workaround which might worth a try.

QuAzI commented 12 months ago

Because the plugin moves focus into the navigation pane, you can't start to edit note from the keyboard anymore. And even while you are trying to select any other note, focus not move to the document anymore. You always have to get mouse and click directly to document. So, default behavior of Obsidian is broken

toddz262 commented 10 months ago

I came here to report the same thing. It doesn't look like this plugin is getting any attention from the author, though.

Highlighting the current doc in navigation should be core Obsidian functionality anyway, so I'll probably head to the forum.

shichongrui commented 10 months ago

Unfortunately I don't have time to give this attention. But I'm always open to PRs and will review them.