Open
Description
Description
When a View has some corners rounded and some not, the corners opposite the rounded ones have a "shadow" effect when the app goes to "inactive" state.

Steps to reproduce
<View style={{ justifyContent: "center", alignItems: "center", flex: 1 }}>
<View
style={{
width: 100,
height: 100,
borderColor: "#000",
borderWidth: 1,
borderBottomLeftRadius: 30,
borderTopLeftRadius: 30,
}}
/>
</View>
Solution
Round all corners
<View style={{ justifyContent: "center", alignItems: "center", flex: 1 }}>
<View
style={{
width: 100,
height: 100,
borderColor: "#000",
borderWidth: 1,
borderRadius: 2,
borderBottomLeftRadius: 30,
borderTopLeftRadius: 30,
}}
/>
</View>
React Native Version
0.76.9
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
-
Stacktrace or Logs
-