You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android, if the background color of a view with border radius is toggled between a transparent and opaque color, the border radius is lost when transitioning from transparent to opaque.
Steps to reproduce
create a view with border radius
conditionally switch its background color from transparent to an opaque color
If I press on the blue container, it will switch a state value which toggles the background color from transparent to red. Notice that on Android the red container is square even though border radius is set:
Description
On Android, if the background color of a view with border radius is toggled between a transparent and opaque color, the border radius is lost when transitioning from transparent to opaque.
Steps to reproduce
React Native Version
0.80.1
Affected Platforms
Runtime - Android
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://github.com/itsramiel/BorderRadiusAndroid
Screenshots and Videos
Given the following app(same as reproducer):
Example App
If I press on the blue container, it will switch a state value which toggles the background color from transparent to red. Notice that on Android the red container is square even though border radius is set:
Recording
Screen.Recording.2025-07-04.at.9.04.08.AM.mov
Screen.Recording.2025-07-04.at.9.03.45.AM.mov