You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I use resizeMode in style I get a React warning:
Warning: Failed prop type: Invalid props.style key 'resizeMode' supplied to 'ActivityIndicator'.
It seems as if the style given to CachedImage is used on both the ActivityIndicator and the Image elements. Is there a way to get the separate styles to them?
@PCguru Hey, Thanks for this.
The goal was to avoid having to declare the style twice and that the ActivityIndicator would fit in the image's place seamlessly.
Maybe you could use the 'resizeMode' prop instead of the style? see docs
Whenever I use resizeMode in style I get a React warning:
Warning: Failed prop type: Invalid props.style key 'resizeMode' supplied to 'ActivityIndicator'.
It seems as if the style given to CachedImage is used on both the
ActivityIndicator
and theImage
elements. Is there a way to get the separate styles to them?The text was updated successfully, but these errors were encountered: