Left Click Not Detected in PDFs Since Update

Hi,

I’ve developed a plugin that allows writing on PDFs in Obsidian. Since updating to version 1.8.3 (and later), I noticed that left clicks are no longer detected inside PDFs. Previously (up to version 1.7.7), I could detect left clicks, but now only right clicks are registered.

Expected Behavior:

  • Left-click events should be detected inside PDFs (as they were before).

Current Behavior:

  • Right-click works (the cursor moves to the clicked position).
  • Left-click does nothing and does not trigger any events.

Steps Taken to Debug:

  1. Disabled all third-party plugins.
  2. Tested in Safe Mode.
  3. Checked for mousedown events: only right-click is detected.
  4. Rolled back to version 1.7.7 → The issue disappears.

Since my plugin relies on detecting left-clicks for user interaction, this issue is causing problems. Is this an intentional change or a bug introduced in the latest update?

Thanks in advance for your help!