react-native-image-modal icon indicating copy to clipboard operation
react-native-image-modal copied to clipboard

Zoom under fingers

Open Keplyx opened this issue 4 years ago • 2 comments

Right now, the zoom works quite well but can feel counter intuitive when zooming at details not in the image's center.

Desired behavior: When using pinch-to-zoom, zoom under fingers and allow image panning while holding with two fingers.

Current behavior: When using pinch-to-zoom, the image zooms at the center of the screen, which is not necessarily where the user has its fingers.

Keplyx avatar Apr 04 '20 22:04 Keplyx

I tested it.

It is weird as you say. sometimes, pinch-to-zoom works well. I mean I can zoom to fingers center, not image center, but sometimes, pinch-to-zoom just zooms image center.... 🤔

I will check it.

thanks for reporting!

dev-yakuza avatar Apr 17 '20 00:04 dev-yakuza

Yup, same issue here. The pinch-to-zoom is not working well. Other than that, I'm very pleased with your script. Thank you!

Razorholt avatar Dec 20 '20 18:12 Razorholt