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

iOS Issue: No border box and show wrongly applied

Open maxlam79 opened this issue 4 years ago • 3 comments

Hi, just found out that the plugin doesn't apply well on iOS (Emulator iOS 13.4). All settings are left default. However, the border is not visible, and the shadow effects are applied on the elements within the "CardView" instead of around the the box. Android is working well though.

maxlam79 avatar Apr 22 '20 04:04 maxlam79

I have discovered a strange way to make this work...happens on iOS. Some how, I have to have an extra CSS class with the border properties defined like:

.mycard { border-width: 1; border-color: #808080; }

and have it in:

<CardView class="mycard">...</CardView>

then it worked.

Without the border attributes, it doesn't.

maxlam79 avatar Apr 22 '20 08:04 maxlam79

thanks for the workaround, not really sure what could have changed since this plugin hasn't been updated so must be some change with NS core or iOS APIs. Can you check other iOS versions on the simulators to see if behavior is similar to help narrow down what caused this?

bradmartin avatar Apr 22 '20 14:04 bradmartin

Much apologies. The iOS simulator which I (Version 11.4.1 (921.9)) only has iOS 13.4 for all devices. Can't downgrade to other iOS version.

maxlam79 avatar Apr 28 '20 08:04 maxlam79