nativescript-cardview icon indicating copy to clipboard operation
nativescript-cardview copied to clipboard

Radius is not working on iOS

Open michalMajkel opened this issue 6 years ago • 4 comments

on iOS no matter of the radius i set the cards are never "rounded" - is that expected behaviour ( I can see that on all your iOS screenshots it is flat as well, but i don't see any mention about this in your docs.

michalMajkel avatar Sep 19 '19 11:09 michalMajkel

+1

edrick27 avatar Sep 19 '19 22:09 edrick27

+1

ysk8 avatar Nov 25 '19 03:11 ysk8

I'm getting most of my CardViews with rounded corners on iOS, but not all. I found that adding padding to the first StackLayout rounded the corners, but I wasn't able to reproduce this effect in a simple case.

kanayo avatar Dec 03 '19 18:12 kanayo

For my case, I found it might because of the inner layer border radius did not setup correctly. Try make both 2 radius set to the same value. <CardView radius="10"> <StackLayout borderRadius="10"> SomeOtherContentHere </StackLayout> </CardView>

In my case, CardView radius will always change. However, if the inner content does not have a borderRadius, it looks like it is still not rounded.

chenyl4869 avatar Jun 15 '21 20:06 chenyl4869