Skip to content

Commit 2989b46

Browse files
sahdev0Luehang
authored andcommitted
to fix issue on onPressImage()
This parameter to TouchableImageComponent component will fix the issue onPress event on each image in masonry layout. I faced this issue while using this module
1 parent 1ee7db8 commit 2989b46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImageCell/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default class ImageCell extends PureComponent {
3030

3131
return onPressImage || onLongPressImage
3232
? <TouchableImageComponent
33+
data={data}
3334
width={data.width}
3435
height={data.height}
3536
gutter={data.gutter}

0 commit comments

Comments
 (0)