Location of the preview panel jumps back to the beginning of the page when there is an embedded block

Steps to reproduce

  1. create a note named “a”, with the following content:
- a
- b
- c
- d
- e
- f
  1. Create a second note, with the following content:

## Para_title_1

## Para_title_2

## Para_title_3

## Para_title_4

## Para_title_6

## Para_title_7

## Para_title_8

## Para_title_9

## Para_title_10

## Para_title_11

## Para_title_12

## Para_title_13

## Para_title_14

## Para_title_1

## Para_title_2

## Para_title_3

## Para_title_4

## Para_title_6

## Para_title_7

## Para_title_8

## Para_title_9

## Para_title_10

## Para_title_11

## Para_title_12

## Para_title_13

## Para_title_14

![[a]]


## Para_title_6

## Para_title_7

## Para_title_8

## Para_title_9

## Para_title_10

## Para_title_11

## Para_title_12

## Para_title_13

## Para_title_14
  1. split the window vertically, link the two windows and turn one of the window to edit mode and the other preview mode
  2. scroll down the window in edit mode

Expected result

the content within the preview mode windows should scroll down to the correct location accordingly.

Actual result

When it comes to the embedded block, the preview page jumps back to the beginning of the page.

Environment

  • Operating system: MacOS
  • Obsidian version: 0.11.4

Additional information

thank you very much for the accurate repro steps

举手之劳。

You are welcome, :slight_smile:

should be fixed in 0.11.5