Iframe embedded site loading triggers a scroll to the top of the note repeatedly

Steps to reproduce

Create a note with a Heading 1. Fill the note with enough text (15 times lorem ipsum) and append an iframe with an public Google Sheet or Doc to the bottom.I suspect that any more complex site will trigger the behaviour.

(The point is to make the note long enough so that the embedded website is loaded only after user scrolls down.)

Did you follow the troubleshooting guide? [Y/N]

Yes, I followed the guide and was able to reproduce the behaviour in the sandbox on a minimal viable example.

Expected result

The iframe embedded site is loaded in its place and the note view stays in the place where the user scrolled.

Actual result

The iframe embedded site is loaded in its place and the note view scrolles to the very the top of the note.

When the user scrolls down, the behaviour repeats. The iframe embedded site is loaded, the note view scrolls all the way to the top of the note.

This makes it impossible to even edit the iframe as the user cannot move the cursor to the line containing the iframe as everytime the note view reaches the iframe, the afformentioned behaviour occurs.


Obsidian version: v1.4.16
Installer version: v1.4.14
Operating system: Darwin Kernel Version 21.6.0: Fri Sep 15 16:17:23 PDT 2023; root:xnu-8020.240.18.703.5~1/RELEASE_X86_64 21.6.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information

I cannot insert a screen recording to the bug report, but will provide it upon request

I would like to elevate this bug report as it severely limits the use of Obsidian for some of my users.

Please, Post a screen recording of this happening in the sandbox vault and attach a copy of the note where this happens.

@WhiteNoise Example note:
Untitled 1.md (7.6 KB)
Screen recording: