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

Scroll not available when touching the image

Open adrianmrit opened this issue 7 years ago • 3 comments

Can only scroll if I touch the area around the image. This is a problem specially for vertical images

adrianmrit avatar Jan 03 '19 05:01 adrianmrit

It it happens to me, too. Did you find any solution for this ?

tslmihai avatar Jan 21 '19 19:01 tslmihai

i've added

onShouldBlockNativeResponder: (event, gestureState) => false,

on the PanResponder.create({ ... })

located in src/utils.js

now it works fine

samuelecipriani avatar Feb 12 '19 00:02 samuelecipriani

@samuelecipriani thanks. Let me check it today/tomorrow and if everything is fine publish new version

antonKalinin avatar Feb 13 '19 10:02 antonKalinin