PDF Viewer scroll is reset when moving tab off stack

Steps to reproduce

  • Add a pdf file into your Vault
  • Open the PDF and scroll down to any page
  • Create a note and open it in the same Tab Stack
  • Drag the PDF off the tab stack to split the view between the Note and the PDF (horizontally/vertically, irrelevant)

Expected result

PDF Viewer should retain the scroll progress / Currently Viewed Page of PDF when it’s moved off the stack

Actual result

PDF Viewer is reset, scrolling all the way up

Environment

  • Operating system: Windows 10
  • Debug info: SYSTEM INFO:
    Obsidian version: v1.1.9
    Installer version: v0.15.9
    Operating system: Windows 10 Pro 10.0.19042
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on

RECOMMENDATIONS:
none


Additional information

This won’t be address until/unless we move to a different pdf viewer.

the built in pdf viewer will change in v1.3. this bug is deprecated.