fix(ios): box-shadow and border-radius (#9612)

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
This commit is contained in:
Juan de Dios Martínez Vallejo
2021-10-30 03:43:14 +02:00
committed by GitHub
parent 78e9c17be3
commit 483217934c

View File

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