candlefinance / faster-image

Fast image loading for React Native backed by performant native libraries.
https://candle.fi/discord
MIT License
479 stars 21 forks source link

`resizeMode` is having no effect (iOS) and image is stretched by default. #7

Closed nickvgn closed 3 months ago

nickvgn commented 3 months ago
Screenshot 2024-03-15 at 1 56 09 PM

<FasterImageView source={{ resizeMode: 'cover', url: entry?.image, transitionDuration: 0.2, }} style={{ width: Dimensions.get('window').width, height: 300, }} />

version -> "@candlefinance/faster-image": "^1.3.3"

hello. loving this library and considering adding this to our project but it appears as though the resizeMode prop is having no effect. we want to set it to "cover" but nothing is happening. screenshot is from an iOS simulator running on debug mode

gtokman commented 3 months ago

@nickvgn, thanks for the report! Pushed a fix on the latest version.