Navigate back after link to same page returns to previous page, not previous cursor position

Steps to reproduce

  • Add a link on a page to a header on the same page.
  • Click on link jumps to header.
  • Alt-Back (on Windows) to navigate back.

Expected result

I expect the line with link I just clicked on to be shown again, like a browser would handle navigation back to a link origin on the same page. I don’t leave the current page, because link and target are on the same page.

Actual result

Obsidian opens the previous page, i.e. leaves the current page.

Environment

  • Operating system: Windows 10
  • Obsidian version: 0.12.10

Additional information

Having a behaviour like in a web browser would support longer pages in Obsidian, e.g. with TOC at the beginning, or working with block links on a document to jump between sections.

This is not a bug but a feature request. Please, search or open a new feature request.

Will do, sorry, thanks for the quick feedback.