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

Pinch zoom not working on IOS, works fine on Android.

Open Mr2803 opened this issue 3 years ago • 3 comments

<ImageView images={formattedImg} imageIndex={indexImg} visible={galleryVisibility} onRequestClose={onRequestClose} FooterComponent={({ imageIndex }) => ( <ImageFooter imageIndex={imageIndex} imagesCount={formattedImg.length} /> )} swipeToCloseEnabled={false} HeaderComponent={() => ( <ImageHeader title={title} onRequestClose={onRequestClose} /> )} />

Mr2803 avatar May 19 '22 13:05 Mr2803

Same

ngxhuyhoang avatar Jul 15 '22 09:07 ngxhuyhoang

Locate react-native-image-viewing within your node modules and navigate to the ImageItem.ios.js file and change maxScale to something like 3. You can use the yarn patch or npm patch-package to add these changes to your repo so they persist reinstalls of node modules

nischal-bhw avatar Jul 19 '22 15:07 nischal-bhw