shichongrui / obsidian-reveal-active-file

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

back button doesn't work correctly #21

Open hannesdelbeke opened 1 year ago

hannesdelbeke commented 1 year ago

i use the back and forward buttons on my mouse to navigate to the previous note (page) i came from. this works by default in Obsidian.

after installing this plugin, the back and forward behaviour changes. i can go back to a page, but now the note has focus. and i can't click back again, to go back 2 pages

if i press esc, i can click back again. so instead of doing back back back, i now have to do back esc back esc back esc

this sadly prevents me from using this plugin.

this might be related to https://github.com/shichongrui/obsidian-reveal-active-file/issues/11

gamepad-coder commented 8 months ago

Came to report this same issue.

Yes, this is caused by the focus bug in #11.


Meta + Opinion: This #21 issue should remain open because it specifically describes a UX bug that needs to be patched for the user. However the implementation that closes #11 will ideally also close this #21.