Skip to content
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

tintColor is not working on Image component #1948

Open
ospfranco opened this issue Oct 10, 2023 · 5 comments
Open

tintColor is not working on Image component #1948

ospfranco opened this issue Oct 10, 2023 · 5 comments
Labels
bug Something isn't working Needs: Triage 🔍

Comments

@ospfranco
Copy link

Environment

react-native -v: 0.72.5
npm ls react-native-macos: 0.72.1
node -v: 18.15.0
npm -v:
yarn --version: 1
xcodebuild -version:

Steps to reproduce the bug

  1. Have an image component
  2. Add tintColor as a style property.
  3. Tint color should be applied
<Image
    source={Assets.checkMark}
    style={{tintColor: 'white'}}
/>

Here is a screenshot of Sol, where it is not being correctly applied:

Oscar Franco Screen 000084

Expected Behavior

No response

Actual Behavior

No response

Reproducible Demo

No response

Additional context

No response

@ospfranco ospfranco added the bug Something isn't working label Oct 10, 2023
@Saadnajmi
Copy link
Collaborator

Ah, I thought this was fixed 😅, I'll take a look tomorrow!

@Saadnajmi
Copy link
Collaborator

Saadnajmi commented Oct 10, 2023

@ospfranco Just to confirm.. you see this change in your local project, if you open RCTImageView.mm in Xcode? If so, then it broke some new way :')

#1801

@ospfranco
Copy link
Author

Yes, it is there.

Oscar Franco Screen 000091

@Saadnajmi
Copy link
Collaborator

I can repro this on the main branch. So it would be present in 0.72 and 0.73 (whenever that cuts).

@ospfranco
Copy link
Author

@Saadnajmi any news about this? just updated to the latest rn-macos version (72.11) and is still broken.

@shwanton shwanton mentioned this issue Dec 16, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

2 participants