"Find in note" unreliable in notes with many transclusions

Steps to reproduce

  • Open the attached vault.
  • Open the note scrolling bug.
  • Switch to the preview mode.
  • Hit Ctrl+F, type Reference works

Expected result

The Reference works text is found, the note is scrolled to its location, the text is highlighted.

(The text Reference works is present in the transcluded note part3.)

Actual result

Random substrings are being incrementally found, but the full Reference works text is never found (at least, not scrolled to).


  • Operating system: Windows 10

  • Obsidian version: 0.12.15

Additional information

Attached a reproduction video and the vault.

repro_video.zip (90.2 KB)
scrolling_bug.zip (51.6 KB)