Steps to reproduce
- Embed a PDF at the bottom of a Obsidian page.
- Type the double-dollar $$ math $$ environment, and Obsidian will erroneously focus on the bottom-most embedded PDF, jumping away from the math environment.
- Alternatively, open some Obsidian file which has a PDF embedded at the bottom, and Obsidian will skip to the PDF.
Did you follow the troubleshooting guide?
Yes, the bug is fully reproducible in the Sandbox Vault.
Expected result
Obsidian should stay at the current cursor position
Actual result
Obsidian jumps to the PDF it loads last
Environment
SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.8.4
Operating system: Windows 11 Pro 10.0.26100
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
See this screenrecording for how the page focus occurs.