elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.44k stars 560 forks source link

Tapping an image on mobile allows zoom but scrolling is functionally not fit for purpose #740

Open cooperaj opened 1 year ago

cooperaj commented 1 year ago

I can tap an image on Android Chrome / PWA and it will expand into a modal. I can then use pinches to zoom in on that image, but there is some odd rubber-banding that continuously recentres the image on the screen such that it's essentially impossible to zoom anywhere other than the centre of the image.

This is on https://main.elk.zone

Edit. Furthermore, it appears that when the image is a part of a multi image gallery attempting to scroll to the left or the right of a zoomed in image will navigate between the images on an inconsistent feeling basis.

userquin commented 1 year ago

@cooperaj working on it

joeldrake commented 1 year ago

I cant zoom images at all now on iOS safari. If its multiple images I can swipe to switch between them. I suspect the image zoom broke when swipe was introduced.

cooperaj commented 1 year ago

Zooming looks to have completely gone now on Android too.

forestsystem commented 1 year ago

Same, I can't zoom at all on iOS safari (web app).

isaaccp commented 1 year ago

Same on the Android PWA. Pinch for zooming is broken

jadeohl commented 1 year ago

Same, can't pinch to zoom for images in the modal. Chrome web app, Android 13, Pixel 6 Pro Screenshot_20230114-213439

LarsFosdal commented 1 year ago

Image viewing needs to be full screen, pinch zoomable, and able to pan around the zoomed view.

clarioncat commented 1 year ago

Image viewing needs to be full screen, pinch zoomable, and able to pan around the zoomed view.

All of this! But also, double-tapping should automatically zoom a certain factor (maybe 200%?) like it does on Twitter (or most social apps do, it's pretty standard I think).

Are there any updates on this? This is also an important accessibility issue, any image with text is really hard or impossible to read on mobile.

Furthermore, a lot of people use the app to follow artists, and some images are just tiny and unrecognizable right now, it's a bit frustrating.