We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi kfiroo,
If I add resizeMode to CachedImage style, it will cause warning
<CachedImage style={{resizeMode:Image.resizeMode.stretch}} source={{uri:item.img}} />
Warning: Failed prop type: Invalid props.style key `resizeMode` supplied to `ActivityIndicator`. Bad object: { "width": 360, "height": 592, "resizeMode": "stretch", "opacity": 0, "backgroundColor": "transparent", "alignItems": "center", "justifyContent": "center" } ... in ActivityIndicator (created by CachedImage) in CachedImage (created by TopBannerItem) Warning: Failed prop type: Invalid props.style key `resizeMode` supplied to `View`. Bad object: { "alignItems": "center", "justifyContent": "center", "width": 360, "height": 592, "resizeMode": "stretch", "opacity": 0, "backgroundColor": "transparent" } ... in View (created by ActivityIndicator) in ActivityIndicator (created by CachedImage) in CachedImage (created by TopBannerItem)
The text was updated successfully, but these errors were encountered:
the same with #45 and #1
should not use resizeMode in style, should use props resizeMode instead
Sorry, something went wrong.
No branches or pull requests
Hi kfiroo,
If I add resizeMode to CachedImage style, it will cause warning
The text was updated successfully, but these errors were encountered: