What's happening?
On Android, using resizeMode="stretch" will not stretch on first opening or after clearing the cache.
For example, change this to "stretch", clear the cache, and reopen the screen:
Reproduceable Code
Relevant log output
Device
Android Studio API 36.0
TurboImage Version
1.23.0
Can you reproduce this issue in the TurboImage Example app?
Yes, I can reproduce the same issue in the Example app
Unrelated Issue:
this type should be ViewStyle not ImageStyle. I got a typescript error while using style={{ borderCurve: "continuous" }}.
|
style: StyleProp<ImageStyle>; |
What's happening?
On Android, using
resizeMode="stretch"will not stretch on first opening or after clearing the cache.For example, change this to
"stretch", clear the cache, and reopen the screen:react-native-turbo-image/example/src/screens/list/UrlCacheScreen.tsx
Line 15 in 403bca6
Reproduceable Code
Relevant log output
Device
Android Studio API 36.0
TurboImage Version
1.23.0
Can you reproduce this issue in the TurboImage Example app?
Yes, I can reproduce the same issue in the Example app
Unrelated Issue:
this type should be
ViewStylenotImageStyle. I got a typescript error while usingstyle={{ borderCurve: "continuous" }}.react-native-turbo-image/src/types.ts
Line 60 in 403bca6