react-native-shadow icon indicating copy to clipboard operation
react-native-shadow copied to clipboard

Border radius does not give accurate shape.

Open sujanbasnet opened this issue 7 years ago • 6 comments

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.

screen shot 2017-10-05 at 1 31 02 am

sujanbasnet avatar Oct 04 '17 19:10 sujanbasnet

I'm having this problem as well

rjacobskind avatar Oct 05 '17 16:10 rjacobskind

@rjacobskind have you found a solution or some workaround to this issue ?

sujanbasnet avatar Oct 07 '17 11:10 sujanbasnet

+1

loverdeveloper avatar Nov 28 '18 08:11 loverdeveloper

+1

onewkl avatar Jan 14 '19 10:01 onewkl

+1

dagatsoin avatar Mar 11 '19 08:03 dagatsoin

https://github.com/879479119/react-native-shadow/issues/40

brhndursun avatar Sep 25 '19 13:09 brhndursun