darktrojan / betterimageviewer

Better Image Viewer for Firefox
https://addons.mozilla.org/firefox/addon/better-image-viewer/
19 stars 3 forks source link

Doesn't work in Firefox 94 #21

Closed regs01 closed 2 years ago

regs01 commented 2 years ago

Mozilla broke something again with their APIs. Panning doesn't work in FF94.

Wassss commented 2 years ago

Same for me drag image doesn't work in FF94.

LaserRacer commented 2 years ago

Yep, same issue here. I just came here to check if anyone else had posted it yet.

Wassss commented 2 years ago

New version that i make based on @wenereth-arkhilmor Pull request https://github.com/Wassss/betterimageviewer/releases

darktrojan commented 2 years ago

This is now fixed.

irvinm commented 2 years ago

All, I'm seeing a strange behavior with build 22 but before I write it up as a defect, I was wondering if anyone else is seeing any abnormal behavior with the initial state of the image (whether smaller than the viewport or not).

Example with smaller image: https://upload.wikimedia.org/wikipedia/commons/e/eb/Ash_Tree_-_geograph.org.uk_-_590710.jpg

The image loads and looks like the "overflowingVertical" tag is already there and therefore the margin-top = 0 and the image is drawn at the top of the screen. Once I click on the image, the viewport vs. image size check works fine, the tag is removed, and the image properly returns to being centered on the screen.

I see something similar with larger than viewport images but slightly different.

Pre-click:

image

Post-click:

image