nstudio / nativescript-cardview

:diamonds: :clubs: NativeScript widget for Material Design CardView
MIT License
282 stars 51 forks source link

iOS Not Displaying Border and Instead Applies Shadow to Every Element #69

Closed travtarr closed 7 years ago

travtarr commented 7 years ago

npm v3.10.10 node v6.11.3 {N} v3.2.1 nativescript-angular v4.2.0 nativescript-cardview v2.0.2

When I load the app up on iOS, the contents inside the <CardView> have shadow applied (ie. all labels, css borders, etc.) and no border appears around the container (and hence no shadow around it).

Here is a screen comparison: image image I commented the CardView out in this second image.

The same view on Android works as expected.

travtarr commented 7 years ago

This is actually working. I didn't realize {N} will not create a rect in a view unless the background-color is set.