ascoders / react-native-image-zoom

react native image pan and zoom
MIT License
639 stars 282 forks source link

Does not zoom to centre of touches #50

Open brocoder86 opened 6 years ago

brocoder86 commented 6 years ago

When zooming I was expecting it to zoom to the point where I am pinch zooming. But it zooms to the images 0,0. I have spent quite a bit of time trying to get this to work without success. Any ideas anyone?

frolovdev commented 6 years ago

+1, and have big problems on Tablets

ascoders commented 6 years ago

Can anyone upload a GIF to describe this problem? It's not too clear.

frolovdev commented 6 years ago

I wanna zoom interaction like in your demo Show Cases, but when i use your package, im forever zooming in the center of screen.

ezgif-1-7f69483e02

ascoders commented 6 years ago

66666

I couldn't reproduce it?

frolovdev commented 6 years ago

Could u test it on android studio or real android device?

wojteg1337 commented 6 years ago

Here is example of android issue: when zooming big image over screen. It doesnt listen to pinch zooming point, but zoom image to left top corner. @ascoders buggif

ascoders commented 6 years ago

It's difficult to fix this issue for me, because it seems like a special bug in android platform. Can anyone give a pr?

lucas-franco commented 5 years ago

@ascoders I'm having the same issue, can't find a way to fix it. The zoom always goes in the center. btw I'm using image-viewer

kznestrela commented 4 years ago

I'm facing the same issue for Android. Any solutions @ascoders ?

karanjhinga commented 4 years ago

Any updates on it? It's really annoying on android