alwx / react-native-photo-view

Pinch-to-zoom view for React Native (both iOS and Android)
MIT License
816 stars 435 forks source link

White back fill on render #77

Closed JperF closed 3 years ago

JperF commented 6 years ago

I am using react-native-photo-view to render photos in a swipe friendly photo view. However sometimes when clicking and rendering the photos the photos are just blank with a white backfill.

screen shot 2017-08-03 at 10 42 42 am

This is only happening with the android library you use, iOS work perfectly.

I am not sure if this is something I am doing incorrectly but using the view with multiple images.

 {props.photos.map(item => (
    <View key={item.url} style={photoswiperStyles.slide}>
      <TouchableWithoutFeedback onPress={() => props.pressHandle()}>
        <PhotoViewLoader item={item} />
      </TouchableWithoutFeedback>
    </View>
  ))}

the problem happens even with a list of one item as well.

nihp commented 3 years ago

Did you have any solution for this?

JperF commented 3 years ago

@nihp Sorry I don't even remember the context of what I was working on when I posted this. I am going to close this.