-
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 is not rendered when using borderRadius & resizeMode [Android][RN 0.46.2] #15053
Comments
React-Native: 0.46.1 also has this issue |
also having exact same issue |
thanks god, you save my time! Is there any solution? |
I have the same issue on RN 0.46.4 as well, do we have plan to fix this? |
I'm also having this issue, tested only on Android. |
Ditto. My workaround in the short term is to use |
It appears to have been caused by this commit e0bdb7c EDIT: Which has already been reverted in 0.47. |
If you will use resizeMode: stretch then border radius will be deformed |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
You don't reply to the issues, but wait them out and close due to inactivity. Brilliant strategy. |
@shoppy999 This was fixed months ago in 0.47 |
It seems like Images don't work well with the new border properties at all. borderTopWidth, borderTopColor and all the variants don't work at all. |
so was this fixed in RN >= 0.47? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Steps to Reproduce
Image
resizeMode
andborderRadius
for styling of the image.Expected Behavior
Image should be rounded and follow resize prop instructions('cover', 'contain', 'stretch', 'repeat', 'center').
Actual Behavior
Instead image simply isn't rendered. If you remove
borderRadius
orresizeMode
. All works as intended.Reproducible Demo
react-native init testImg
index.android.js
to the one below:react-native run-android
, you will see working image, but if you uncommentresizeMode
in the code - image won't render.The text was updated successfully, but these errors were encountered: