DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.15k stars 1.5k forks source link

Android Images Disappearing #525

Open prsauer opened 5 years ago

prsauer commented 5 years ago

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]} /> `

willnrf commented 3 years ago

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

rahamin1 commented 3 years ago

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",
trickeyd commented 3 years ago

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

trickeyd commented 3 years ago

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

renanbronchart commented 1 year ago

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.