From 483217934c679222ed04387421d3a3c7241ae4cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Sat, 30 Oct 2021 03:43:14 +0200 Subject: [PATCH] fix(ios): box-shadow and border-radius (#9612) Co-authored-by: Nathan Walker --- packages/core/ui/core/view/index.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/ui/core/view/index.ios.ts b/packages/core/ui/core/view/index.ios.ts index 8e7993a17..acc7b116c 100644 --- a/packages/core/ui/core/view/index.ios.ts +++ b/packages/core/ui/core/view/index.ios.ts @@ -853,7 +853,7 @@ export class View extends ViewCommon implements ViewDefinition { _setNativeClipToBounds() { const backgroundInternal = this.style.backgroundInternal; - this.nativeViewProtected.clipsToBounds = this.nativeViewProtected instanceof UIScrollView || backgroundInternal.hasBorderWidth() || backgroundInternal.hasBorderRadius(); + this.nativeViewProtected.clipsToBounds = (this.nativeViewProtected instanceof UIScrollView || backgroundInternal.hasBorderWidth() || backgroundInternal.hasBorderRadius()) && !backgroundInternal.hasBoxShadow(); } private _setupPopoverControllerDelegate(controller: UIViewController, parent: View) {