mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(core): box-shadow support (#9161)
This commit is contained in:
@@ -23,6 +23,7 @@ export class LayoutBase extends LayoutBaseCommon {
|
||||
|
||||
_setNativeClipToBounds() {
|
||||
if (this.clipToBounds) {
|
||||
// TODO: temporarily setting this to false as it crops the shadow
|
||||
this.nativeViewProtected.clipsToBounds = true;
|
||||
} else {
|
||||
super._setNativeClipToBounds();
|
||||
|
||||
Reference in New Issue
Block a user