ascoders / react-native-image-zoom

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

When I change the image inside the image zoom modal the next image is alzo zoomed. How do I fix that? #168

Closed aditi-kc closed 3 years ago

aditi-kc commented 3 years ago
<ImageZoom
cropWidth={400}
cropHeight={400}
imageWidth={300}
imageHeight={300}
enableDoubleClickZoom={true}
style={[styles.justifyAlignCenter,]}
>
<View style={[styles.justifyAlignCenter,styles.heightWidth100,{flex:1}]}>
<Image
source={{
uri:  this.state.imagesArray[index]response.data,
}}
style={{height: 300, width: 300}}
/>
</View>
</ImageZoom>