Determine page scroll after loading in embedded links

Use case or problem

When including inline embedded files in notes, files load in at the wrong place when using the ‘back’ and ‘forwards’ hotkeys.

Typically when moving backwards and forwards between pages Obsidian will reload the page at the same place that you left off. This is useful and saves scrolling. However, when using inline embeds, Obsidian fails to account for the changes to page height that the inline embeds give and loads the page at the wrong place. Particularly if you are far down in a long note, you often have to scroll for a long time to regain the correct place.

Proposed solution

If Obsidian could ‘wait’ until inline embeds appeared before calculating the height of the page to scroll to when going back and forwards, this problem might disappear.

1 Like