react-native-image-view
react-native-image-view copied to clipboard
Apparently a width and height non determined issue
Here's my render function:
render(){
return(
<View style={{flex: 1, backgroundColor: '#f2f2f2'}}>
<View style={bar.container}>
<Text style={{color: '#808080', fontSize: 24}} > Meus Depoimentos </Text>
</View>
<ImageView
images={this.state.galleryPhotos}
imageIndex={0}
animationType="fade"
isVisible={this.state.galleryOpen}
onClose={() => this.setState({ galleryOpen: false })}/>
</View>);
And my function that pack images in objects to set in this.state after :
packImages(photos){
let result = photos.map(p => {
return { source: { uri: p }} });
return result;
}
@paulopacitti Thanks for issue, going to check and try to fix this case in 2 days.