nativescript-ng-shadow icon indicating copy to clipboard operation
nativescript-ng-shadow copied to clipboard

Fixed missing layout shadows on iOS

Open alexziskind1 opened this issue 8 years ago • 2 comments

Really I just added 1 line of code. The rest of it is just auto-formatting.

alexziskind1 avatar Nov 03 '17 12:11 alexziskind1

Hi @alexziskind1 thanks a lot for finding time to help me out with this plugin. Would you mind saying what's the benefit of explicitly switching off clipToBounds? I'm already doing that for ios.layer.maskToBounds which is equivalent to ios.layer.clipsToBounds (plural clips). Was under the impression that clipToBounds was simply Nativescript exposing the native property. Cheers

berardo avatar Dec 18 '17 21:12 berardo

Hi @berardo . I've tried it without having the clipsToBounds and it simply wasn't working. The only way I was able to get it to work was by using this property. I've also seen the same issue with some other folks on here. It may be that this property is not properly surfaced in the NativeScript view life-cycle, but this provides a functioning workaround.

alexziskind1 avatar Jan 08 '18 13:01 alexziskind1