Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Flatlist vertical scrolling is not working if ImageZoom added as parent #154

Open
aadityapaliwal94 opened this issue Oct 6, 2020 · 1 comment

Comments

@aadityapaliwal94
Copy link

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> )

@darron1217
Copy link

Take a look at my answer #42 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants