kfiroo / react-native-cached-image

CachedImage component for react-native
MIT License
938 stars 470 forks source link

CachedImage duplicates images with a smal offset. #123

Open hugoh59 opened 6 years ago

hugoh59 commented 6 years ago

I have no idea where the behavior comes from but here is my code:

When I simply replace Image with CachedImage it duplicates the Image element twice and renders it on top of the other.

<CachedImage source={{uri: this.props.photo }} style={styles.imageStyle}/>

Here is a photo of how it looks like.

Regular Image Component

image

CachedImage Component

cachedimage
nickfla1 commented 6 years ago

This is probably a duplicate of #100