react-native-fast-image
react-native-fast-image copied to clipboard
Android Images Disappearing
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",
Any update about the bug @prsauer ? I have the some problem if my app =(
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",
Same here - anyone find a fix? Mine is in a Flatlist too
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
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.