Outline Heading Clicks Do Not Accurately Change Editor View

Steps to reproduce

  1. Unzip the attached demo zip file “TestVault.zip” (This zip file contains 4 md files in a folder called “TestVault.”)
  2. Open the TestVault folder in Obsidian as a new vault. No plugins, no snippets.
  3. Open the files “Test Main 1.md” and “Test Main 2.md” (These files contain embeds from the other 2 md files in the vault.)
  4. Open the right sidebar and switch to outline view.
  5. Click on the headings in the outline view.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

The editor view changes to display the section identified by the heading that was just clicked in the outline view.

Actual result

About half the time, the editor view changes, but does not display the section identified by the heading that was just clicked in the outline view.

Environment

SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.8.3
Operating system: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 24.3.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Test files and screen recording

TestVault.zip (37.2 KB)

Screen Recording.mp4.zip (3.1 MB)

I don’t understand why you opened another bug report. I replied you yesterday in the other thread about this.

Thank you for letting me know that my bug reports were inconsistent.

Please see new, differentiated bug reports.

This current bug report, and this one:

The other tickets can be closed. This one is still valid. All provided information is accurate.

On my Mac, the right line is selected when using the outliner, but if the preceding line is lengthy, the selected line is pushed off the bottom of the screen. The line will appear correctly if I click the outline level a second time, so two quick taps gets the heading to appear in the middle of the screen instantly. If I switch to source mode, the right line is shown with a single click.

Personally, I expect live preview to come with some quirks, given that it is parsing Markdown on the fly. Would be nice if it did work with a single click, but the double tap is so simple that I have have defaulted to doing that with my own vault when using the outliner.

I am gonna write here one more time what I wrote in the other threads:

The screen recording seems a manifestation of this know bug:
Jumping to the wrong viewport position in live preview (from outline, search, etc)

Please read the thread above and comment in it.

I am confused what is going on. It seems like there are three different things that are being talked about at the same time. It would be very helpful if you could explain it.