Closed ng-ha closed 2 months ago
The url does not work for me. I will try to reproduce it with one of the urls in the example
@ng-ha
seems it happens to all the images no matter gif or not I was wrong but found another issue, no value passed to Android if I did not set resizemode
. It should be contain
by default for two platforms.
@duguyihou i did set resizeMode in Reproduceable Code
@ng-ha
resizeMode
behaviours are different in two platforms. To me, it works in Android while it always stretch
in iOS.resizeMode
.@ng-ha
The root cause is contentMode
is always scaleToFill
in iOS. We use Gifu
to handle gif image. will check it later if we can fix it in our code.
@ng-ha Will raise a pr and close it. Let me know if you still have this issue. Thanks
What's happening?
resizeMode behaves differently in Android and IOS with GIF format
Reproduceable Code
Here is the image:
Relevant log output
Strech:
Cover:
Center:
Contain:
Device
iPhone 15
TurboImage Version
1.13.0
Can you reproduce this issue in the TurboImage Example app?
Yes, I can reproduce the same issue in the Example app