Jumping to the wrong position when live preview mode is on

Steps to reproduce

  1. Open sandbox vault and make sure the preview Live Preview mode is on.
  2. Close all the opened note
  3. open search pane
  4. search for /Diagram/
  5. from the search result, select(click) the searching result in the note “Format your notes”

Expected result

in the opened note pane, no matter whether the preview Live Preview mode is on or not, the note should jumps to the location where Diagram appears.

Actual result

in the opened note pane, when the preview mode is on, the note does not show the correct location where “Diagram” appears.


  • Operating system:
  • Debug info:
    Obsidian version: v0.15.9
    Installer version: v0.14.15
    Operating system: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 21.5.0
    Login status: logged in
    Catalyst license: supporter
    Insider build toggle: on
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on


Additional information

there are two workarounds:

  1. after the note “Format your notes” has appeared and the content in preview Live Preview mode has been rendered properly, click the search result again, it will bring you to the right place. This trick works for the search pane, but for the item in a query result, it is not feasible. This is because: by default, the new note will be opened in the same pane and there is no chance for the user to click the query result (which is in the previous note) for the 2nd time.

  2. turn off the preview Live Preview mode. It seems, with preview Live Preview mode is off, the jump is accomplished correctly in the first time. And interestingly, by follow step 1-5, when the note shows the “wrong” location, one can turn off preview Live Preview mode immediately rather than using the 1st workaround method above and see that the note is “now” shows the correct location where “Diagram” appears.

Bug and workaround-1:
Jul-29-2022 14-22-07

Bug and workaround-2(1):
Jul-29-2022 14-27-39

Bug and workaround-2(2):
Jul-29-2022 14-22-37

1 Like

@WhiteNoise one question about the mark/tag on this post: what does “tracked” mean?

that I haven’t reproduced it yet.

What do you mean by preview mode? Live Preview or reader?

sorry for the ambiguity.

it is in Live Preview mode.

this might be related to this feature request: Feature request: wait for all plugins to finish rendering the page before following header links

Yes, the two problems are connected to the elastic effect introduced by LP rendering.