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

Flatlist vertical scrolling is not working if ImageZoom added as parent

Open aadityapaliwal94 opened this issue 5 years ago • 1 comments

I have added the ImageZoom component in my Flatlist's item. I just want to have image zoom, so I set false to panToMove. Now I am scrolling my Flatlist but it's not getting scrolled due to the image responding.

How can I solve it?

return ( <ImageZoom cropWidth={width} cropHeight={height} imageWidth={width} imageHeight={height} panToMove={false}> <Image style={styles.image(item.imageData.width, item.imageData.height, navigationStyle.panelsMargin, item)} source={{ uri: item.imageData.image }} /> </ImageZoom> )

aadityapaliwal94 avatar Oct 06 '20 07:10 aadityapaliwal94

Take a look at my answer https://github.com/ascoders/react-native-image-zoom/issues/42#issuecomment-734209924

darron1217 avatar Nov 26 '20 10:11 darron1217