-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
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
[iOS] Gif Image tintColor not working #24789
Comments
@jinshin1013 Strange, can't reproducible, can you provide the image url? because tintColor only applied to non-alpha pixels. |
@zhongwuzw Oops, my bad it seems like the issue is only contained in iOS gif images. I should've tested with the normal image as well before posting here, I just assumed image won't work either. |
Seems to be also related to #22805 |
@jinshin1013 Never mind, bug exist, I'll try to fix it. Thanks. |
@jinshin1013 Hi, could you try #24794? |
@zhongwuzw I can confirm that the fix is working! Thanks! |
Summary: Bugs like #24789, we don't apply tintColor to GIF. We fixes it by setting a poster image before add animation. cc. cpojer . [iOS] [Fixed] - Fixes renderingMode not applied to GIF images Pull Request resolved: #24794 Differential Revision: D15316913 Pulled By: cpojer fbshipit-source-id: 611a07ec17afc962d1eb6b8fc193f118fa623e73
Steps To Reproduce
react-native init
Image source={require('path-to-image')} style={{ width: 50, height: 50, tintColor: "blue" }} />
When using an animated gif,
tintColor
style in Image is not being applied to iOS while working fine on Android.Snack: Link to Expo Snack
The text was updated successfully, but these errors were encountered: