react-native-shadow
react-native-shadow copied to clipboard
Border radius does not give accurate shape.
I have passed the borderRadius of the child component to the BoxShadow component through the radius property but BoxShadow component does not give an accurate shape.
<BoxShadow
setting={{
width:120,
height:120,
color:"#fff",
border:1,
radius:60,
opacity:0.8,
x:0,
y:0,
}}
>
<Image
source={require('../assets/images/hulk.jpeg')}
resizeMode="cover"
style={{height:120,width:120,borderRadius:60}}
/>
</BoxShadow>
Here is how its appearing in my device.
I'm having this problem as well
@rjacobskind have you found a solution or some workaround to this issue ?
+1
+1
+1
https://github.com/879479119/react-native-shadow/issues/40