onLoad() prop returns wrong values in 'height' and 'width' on Android
virginiab10 opened this issue · comments
Describe the bug
I need to get the height and width of the image being loaded to do some math and display a full screen view of the image.
With react-native 0.68 this worked fine, but now the values in Android are wrong so the image looks cut off.
Dependency versions
- React Native version: 0.69.0
- React version: 18.0.0
- React Native Fast Image version: 8.6.3
I am getting the same bug with newer react-native version.
Dependency versions
React Native version: 0.70.5
React version: 18.1.0
React Native Fast Image version: 8.6.3
Metoo
Same here
Dependency versions
React Native version: 0.70.6
React version: 18.1.0
React Native Fast Image version: 8.6.3
react-native Image.getSize
returns the correct height and width
Same problem
any update?
same issue
Same issue
set resizeMode 'contain', it work fine.
like this: resizeMode={'contain'}