From 4faca3a9bc9dbcdc58f8ea590364533679001182 Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Wed, 11 Aug 2021 13:44:06 +0200 Subject: [PATCH] chore: until it is the official core i need to do it this way --- packages/core/ui/layouts/layout-base.android.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/ui/layouts/layout-base.android.ts b/packages/core/ui/layouts/layout-base.android.ts index 7edfcd929..4a9699737 100644 --- a/packages/core/ui/layouts/layout-base.android.ts +++ b/packages/core/ui/layouts/layout-base.android.ts @@ -9,8 +9,9 @@ export class LayoutBase extends LayoutBaseCommon { return true; } [clipToBoundsProperty.setNative](value: boolean) { - (this.nativeViewProtected).setClipToBounds(value); - + if ((this.nativeViewProtected).setClipToBounds) { + (this.nativeViewProtected).setClipToBounds(value); + } } [isPassThroughParentEnabledProperty.setNative](value: boolean) {