IOS: iFrame within callout causes Obsidian to crash

I have a note that has text, hyperlinks, and callouts with a singular iframe within it. I noticed that on mobile, my phone becomes slow after viewing that page, usually when interacting with the callouts for more than a minute. Then, the app force restarts. It appears to be a potential memory leak.

Steps to reproduce

  • place multiple collapsable callouts, each with an iframe of a Zillow listing in it
  • open and close each callout
  • notice callouts open and close slower over time
  • obsidian on mobile crashes / restarts

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

Expected result

  • obsidian should be able to open and close the callouts normally

Actual result

  • callouts become slower to open and then the app restarts

Environment

SYSTEM INFO:
Operating system: ios 17.6.1 (Apple iPhone16,2)
Obsidian version: 1.7.1 (162)
API version: v1.7.1
Login status: not logged in
Language: en
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Callout example

> [!NOTE]- View Property
> <iframe src="https://www.zillow.com/homedetails/15330-Pinehurst-Dr-Lansing-MI-48906/74702122_zpid/" width="75%" height="450"></iframe>

Attached is the .md file I used in a sandboxed vault to test. One way to replicate this issue is to open the first two callouts in the note and then for every subsequent callout, open and then close it. It will likely crash before you reach the bottom of the screen.

Also repeatedly scrolling on the page up and down (in live preview) without opening a single callout causes Obsidian to restart within 2 minutes.

iFrame Note.md (5.1 KB)

Not sure there is a memory leak here.

I haven’t been able to reproduce on Android.

Ok we can reproduce on iOS.

I haven’t tried it on Android but it is still occurring on v1.7.3 on iOS.

Just a follow-up. Anything more than 12-15 (callout + iframe combinations) makes the note highly unusable on iOS.