react-native-fast-image
react-native-fast-image copied to clipboard
resizeMode behaviour is inconsistent between 8.5.12 and 8.6.0
Describe the bug Image resize behaviour is inconsistent between versions.
To Reproduce
<FastImage
resizeMode={
FastImage.resizeMode.cover
}
source={
{
uri: "https://azbykamebeli.ru/upload/resize_cache/iblock/04d/748_900_1/04d58535526351ab165c5c11983f2791.jpg",
cache: FastImage.cacheControl.web,
priority: FastImage.priority.high
}
}
style={
{
width: "100%",
minHeight: 469.40028989251283
}
}
/>
Expected behavior Image resize behaviour to be consistent between versions.
Screenshots
v8.5.12

v8.6.0

Dependency versions
- React Native version: ^0.69.5
- React version: ^18.2.0
- React Native Fast Image version: ^8.6.0
Changing FastImage.resizeMode.cover to FastImage.resizeMode.contain solves the problem, but the point is that the behavior shouldn't have changed between versions.
same problem
Is this just a case of the default value changing? (agree it shouldn't have)
(I ask that because if all we need to do is specify contain everywhere there was no value, that's an easy-ish thing to do. But if the change in behavior is more complex...)
Same Problem. And AutoSizeExample is not working at 8.6.x in andorid.
Bump! This is happening in my project as well.
I'm having the same issue on android devices
Dependency versions: "react-native": "0.67.5" "react": "17.0.2", "react-native-fast-image": "^8.3.4"
anyone found a solution?
This package is dead.
Just converted to react-native-image-cache . seems alot better