-
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
Image nested views inherit backgroundColor style from Image #763
Comments
@kozorezal - What is the expected behaviour? What happens if you do this for an |
@brentvatne initial issue was renamed, since it's related to style inheritance. Answering your question, in browser I use background-image instead of nesting html inside image tag. |
For performance, instead of having all elements background color transparent, we propagate it from parent to child. I think you can explicitly set background color on |
Thanks @frantic your answer helped, besides it's possible to wrap |
So reading the some bugs here and there and checking CSS doc again, then yeah react-native advertise that it supporting CSS but that is not true, this is different implementation : |
In following code snippet, if i set backgroundColor for Image, Text inherits it's value and covers section of image
"react-native": "~0.3.8"
The text was updated successfully, but these errors were encountered: