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

Android Images Disappearing

Open prsauer opened this issue 5 years ago • 5 comments

Describe the bug After scrolling through ~40 elements, this happens on some android devices:

https://www.youtube.com/watch?v=sted0e7k79w

Notes: I couldn't find any constellation of props (clipped subviews, windowing) for flatlist that would prevent this from happening. It occurs regardless of the fallback prop but does NOT happen if I revert back to using vanilla Image components.

This is the rough source for the image component shown: <View style={[{ height: size, width: size }, this.props.contentContainerStyle]}> <FastImage source={{ uri: this.props.featureImageUrl }} style={[styles.icon, sizeStyle]} resizeMode={"cover"} fallback={true} > <Image source={{ uri: this.props.logoUrl }} style={[styles.iconLogo, sizeStyle]} /> </FastImage> </View>

  • React Native version: "react-native": "0.59.8",
  • React version: "react": "16.8.3",
  • React Native Fast Image version: "react-native-fast-image": "^5.2.0",

prsauer avatar Jul 23 '19 19:07 prsauer

Any update about the bug @prsauer ? I have the some problem if my app =(

willnrf avatar Nov 11 '20 01:11 willnrf

Same problem here on Android, but not in a FlatList, just for a single image that is displayed in a modal. The image appears for a fraction of a second and then disappears.

Using:

"react-native": "0.59.9",
"react-native-fast-image": "7.0.0",

rahamin1 avatar Nov 11 '20 12:11 rahamin1

Same here - anyone find a fix? Mine is in a Flatlist too

trickeyd avatar Mar 31 '21 12:03 trickeyd

Are you guys using react-native-screens? I am - may be a dupe of this:

https://github.com/DylanVann/react-native-fast-image/issues/767

trickeyd avatar Apr 07 '21 09:04 trickeyd

I have the same problem and I don't use react-native-screens I have the problem when I scroll in a lot of elements.

renanbronchart avatar May 01 '23 07:05 renanbronchart