KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
855 stars 74 forks source link

[Bug] [1.9.0-2b]: 1.9.0-2b / Cannot drag inside the canvas #501

Open Nydid opened 1 month ago

Nydid commented 1 month ago

What happened?

I am currently having this issue, where on version 1.9.2-2b, the canvas cannot be "grabbed" and moved, but you can double-click on a note to zoom in on it.

On 1.9.0-2b: floorp_laQSzNzJWZ

491

Reproduction

  1. Create a new vault
  2. Install BRAT
  3. Install 1.9.0-1b or 1.9.0-2b
  4. Create a canvas with a note
  5. Export canvas as Local Website
  6. Cannot move not on canvas, cannot zoom

Last Working Version

1.8.01

Version

1.9.0-2b

Operating System

Windows 11

Obsidian Version

1.6.7

Which browsers can you reproduce this in?

Firefox

Relevant log output

Cannot export log output due to console error when pressing the Debug Copy button

Additional Info

image

Nydid commented 1 month ago

Oddly enough, this issue isn't present on the Firefox browser on my phone but only on the Desktop browser. The issue also doesn't seem to affect Chromium browsers, the canvas is functional on those.

KosmosisDire commented 1 month ago

This is very strange, are you using Firefox on all 3 devices? If you use chrome or edge on the non-functional device does it work?

KosmosisDire commented 1 month ago

Oh did you edit your answer to include the things I just asked or am I blind? Lmao

I will take a look at specifically reproducing it in Firefox. I do most of my testing in chrome. I did test this in Firefox, but it's good to know where I should look to reproduce

KosmosisDire commented 1 month ago

Is it possible the device it doesn't work on has an old or outdated version of Firefox?

Nydid commented 1 month ago

This is very strange, are you using Firefox on all 3 devices? If you use chrome or edge on the non-functional device does it work?

Anything Chromium seems to work. Firefox mobile seems to also work. But anything from Firefox Desktop does not.

Is it possible the device it doesn't work on has an old or outdated version of Firefox?

I am on the latest version of Floorp, a Firefox fork. But I did try doing a fresh installation of the latest vanilla Firefox and the dragging still wouldn't work.

KosmosisDire commented 1 month ago

So to clarify, Firefox desktop on any device doesn't work? Not just on the one device?

Nydid commented 1 month ago

So to clarify, Firefox desktop on any device doesn't work? Not just on the one device?

Yes, my friends also report grabbing not working in Firefox

KosmosisDire commented 1 month ago

I was able to reproduce and fix this, it has to do with touch screens. If your device has a touch screen it will work. The fix will be out in the next release