Heading links and Outline don't scroll to the heading when the Properties block is taller than the window (Live Preview)

Steps to reproduce

  1. Create a new note in Live Preview, with “Properties in document” set to Visible.

  2. Add about 50 properties, for example by pasting this in Source mode, continuing to k50:

    k1: v

    k2: v
    k3: v

  3. Below the properties, add about 500 lines of plain text, then a heading ## search, then a few more lines.

  4. Scroll to the top of the note, so the Properties block is on screen.

  5. Jump to the heading, using either a [[note#search]] link or Quick Switcher’s heading/symbol search.

Did you read and follow the Troubleshooting Guide? No (see Additional information)

Expected result

The editor scrolls to ## search and the heading is visible.

Actual result

The cursor moves to the heading line, but the view does not move. scrollTop stays at 0, no scroll event fires, the heading stays off screen, and no error is logged. It looks like the click did nothing.

Environment

Obsidian 1.15.0 (installer 1.14.5), macOS arm64 (Darwin 25.6.0), Electron 43.8.3, Chrome 150.
Window 1728×1084, editor height 978px. Theme: Minimal, 7 CSS snippets enabled.

Additional information

Tested in Live Preview:

  • Real note, 51 frontmatter lines, Properties block 1649px tall, heading on line 588:
    • Native #heading link: failed 7 of 7
    • Quick Switcher++ symbol search: failed 7 of 7
    • Native link with all 27 community plugins disabled: failed (theme and snippets still enabled)
    • Native link with Properties collapsed: worked
    • Native link with “Properties in document” set to Hidden: worked
    • Native link with “Properties in document” set to Source: worked
  • Test note with plain filler text and a heading about 530 lines down:
    • No properties: worked
    • 1 property: worked
    • 50 key: value properties: failed
  • A long note without this problem (1338 lines, no images) worked 3 of 3.

Reducing the real note’s frontmatter showed that it worked with the first 22 frontmatter lines and failed with the first 23. Property content doesn’t seem to matter, since plain keys fail too. My guess is that the failure starts when the Properties block is taller than the editor, but I have not tested other window heights.

If the view isn’t at the top of the note, it may still jump. In one run started from about scrollTop 1029, it landed about 1250px past the heading, and scrollHeight changed while it scrolled.

Possibly related: