Embedded PDF in Foldable Callout

Steps to reproduce

In Live Preview mode, create a fold-able call out using the standard syntax; within the callout, place a PDF. With the callout open, clicking anywhere on the PDF (i.e. in the body of the PDF or any of the buttons in the top row of the PDF Renderer, etc.).

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

Yes!

Expected result

Ideally, clicking on the PDF or any buttons would allow me to interact with the PDF & renderer without having to leave Live Preview mode. If I want to interact with the PDF viewer currently, I would have to toggle reading view and then go back to live preview to continue editing my notes based on what’s inside the foldable callout’s PDF.

Actual result

Clicking the magnification button changes the view while simultaneously opening the callout in source mode. Clicking a dropdown opens the dropdown for a split second before disappearing to render the source mode.
— just noticed that shift-clicking in the file allows the user to stay in live preview of the PDF without toggling any viewer changes.

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.5
Operating system: Windows 11 Pro 10.0.22631
Login status: logged in
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


image

Same here with latest v1.8.7