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

Apparently a width and height non determined issue

Open paulopacitti opened this issue 7 years ago • 1 comments

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 avatar Jul 23 '18 13:07 paulopacitti

@paulopacitti Thanks for issue, going to check and try to fix this case in 2 days.

antonKalinin avatar Jul 30 '18 10:07 antonKalinin