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) {