Open aadityapaliwal94 opened 4 years ago
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> )
Take a look at my answer https://github.com/ascoders/react-native-image-zoom/issues/42#issuecomment-734209924
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> )