jobtoday/react-native-image-viewing

Pinch zoom not working on android. its work on iOS.

AdminDevo opened this issue · 7 comments

<ImageView
images={arrTempImage}
imageIndex={0}
backgroundColor={Colors.black}
visible={true}
// swipeToCloseEnabled={false}
// doubleTapToZoomEnabled={false}
presentationStyle="fullScreen"
onRequestClose={() => setVisibleImage(false)}
/>

+1

I fixed this (android) with:

swipeToCloseEnabled={false}

+1 it works 1st time after that it doesnt

I fixed this (android) with:

swipeToCloseEnabled={false}

it works for first time and then it doesnt

I fixed this (android) with:

swipeToCloseEnabled={false}

I'm not sure if anyone experiencing this. The pinch is start from center of image. Not on the position of the pinch. Meaning, if you pinch and zoom on top right, it will zoom on center. You need to drag the image back to top right. And when continue pinch to zoom, it will zoom again from center of original image.

I fixed this (android) with:

swipeToCloseEnabled={false}

I'm not sure if anyone experiencing this. The pinch is start from center of image. Not on the position of the pinch. Meaning, if you pinch and zoom on top right, it will zoom on center. You need to drag the image back to top right. And when continue pinch to zoom, it will zoom again from center of original image.

Even I'm facing this issue (Pinch and zoom anywhere, the zoom will start from the center of the image by default, very irritating!). Please post a fix for this!