Open luqiuyuan opened 7 years ago
Hi, I am not sure whether this behaviour is intended or not. Please see below the screenshot. When zooming fast, the entire background moves and shows the white background under the PhotoView (note the white margin in the GIF picture below).
Following is my codes
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, View } from 'react-native'; import PhotoView from 'react-native-photo-view'; export default class testPV extends Component { render() { return ( <View style={styles.container}> <PhotoView source={require('./img/4.jpg')} minimumZoomScale={0.8} maximumZoomScale={3} androidScaleType="center" onLoad={() => console.log("Image loaded!")} style={{alignSelf:'stretch', flex:1}} /> </View> ); } } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', }, }); AppRegistry.registerComponent('testPV', () => testPV);
I am using a real device (iPhone 7 running iOS 10.3.3). The react native is 0.46.4. react-native-photo-view is 1.5.2
@luqiuyuan Hey I have the same problem. Did you find solution yet? Thanks
Same issue :(
Hi, I am not sure whether this behaviour is intended or not. Please see below the screenshot. When zooming fast, the entire background moves and shows the white background under the PhotoView (note the white margin in the GIF picture below).
Following is my codes
I am using a real device (iPhone 7 running iOS 10.3.3). The react native is 0.46.4. react-native-photo-view is 1.5.2