-
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] borderRadius & border(Top|Right|LeftBottom)Color='transparent' don't work properly together #47905
Labels
0.76
Bug
Impact: Bug
The issue represents a bug somewhere
Needs: Author Feedback
Platform: Android
Android applications.
Resolution: Fixed
A PR that fixes this issue has been merged.
Comments
Hey @TheAdamBorek, Thank you for reporting this. Does this same issue occur with the new architecture enabled? |
migueldaipre
added
Needs: Author Feedback
Bug
Impact: Bug
The issue represents a bug somewhere
0.76
and removed
Needs: Triage 🔍
labels
Nov 22, 2024
Looking into it |
Found the issue, will update later with PR fix |
Could this also be related? |
This is more an issue with how we render the background, I'm also investigating a fix currently |
jorge-cab
added a commit
to jorge-cab/react-native
that referenced
this issue
Nov 25, 2024
Summary: Fixes facebook#47905 Border was disappearing when only one edge had an alpha of 0. This was due to clipping conditional Reviewed By: shwanton, NickGerleman Differential Revision: D66397736
jorge-cab
added a commit
to jorge-cab/react-native
that referenced
this issue
Nov 25, 2024
Summary: Fixes facebook#47905 Border was disappearing when only one edge had an alpha of 0. This was due to clipping conditional Reviewed By: shwanton, NickGerleman Differential Revision: D66397736
migueldaipre
added
the
Resolution: Fixed
A PR that fixes this issue has been merged.
label
Nov 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0.76
Bug
Impact: Bug
The issue represents a bug somewhere
Needs: Author Feedback
Platform: Android
Android applications.
Resolution: Fixed
A PR that fixes this issue has been merged.
Description
Hello,
When both
borderRadius
and on the borderRightColor (or any other edge) is set to transparent then Android ignores other borderColors set resulting with no borders being rendered.Bug is only reproducible on Android. It works perfectly fine on iOS.
We encountered this issue after bumping react-native version from
0.74.3
->0.76.2
. Bug still exists in RN0.76.3
.Example
Example says more than 1000 words so here it is:
https://snack.expo.dev/@adamfromattio/borderradius-and-transparent-borderright-bug?platform=android
Steps to reproduce
Set styles of a view to:
React Native Version
0.76.3
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@adamfromattio/borderradius-and-transparent-borderright-bug?platform=ios
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: