-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Android] [Image] tintColor is broken #3657
Comments
Can you give it border radius of 1 or some small value? cc @kmagiera This might be a known problem. Is it easy to fix? |
It works with a border radius of 1, thanks for the workaround 👍 |
@ide I've found that if the Image component has |
Seems that the fix also doesn't work if the Image component is wrapping any children component. |
I bet this could end up being easy to fix because tintColor is already implemented -- it just doesn't activate in certain cases. If there's a performance reason (the tint color code path is slower) then we could apply the tint color only when tintColor is set. I'm going to mark this as Help Wanted. |
Yes it looks like it doesn't have the correct |
This an old thread, but I find it still does not work on Android sometimes. I've tried adding Is it size dependent by chance? I have one component with larger (60x60) images where it works, but another component with smaller images (14x14) where it doesn't. I'm using React Native 49.5. |
HI! I'm having the same issue here. Any updates? I'm using ReactNative |
Setting
tintColor
on Android has no effect.iOS:
Android:
Sample app: https://rnplay.org/apps/oA7vIg
The text was updated successfully, but these errors were encountered: