Skip to content
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

Border radius does not give accurate shape. #19

Open
sujanbasnet opened this issue Oct 4, 2017 · 6 comments
Open

Border radius does not give accurate shape. #19

sujanbasnet opened this issue Oct 4, 2017 · 6 comments

Comments

@sujanbasnet
Copy link

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

@rjacobskind
Copy link

I'm having this problem as well

@sujanbasnet
Copy link
Author

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

@loverdeveloper
Copy link

+1

2 similar comments
@onewkl
Copy link

onewkl commented Jan 14, 2019

+1

@dagatsoin
Copy link

+1

@brhndursun
Copy link

#40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants