mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(ios): box-shadow and border-radius (#9612)
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
This commit is contained in:
committed by
GitHub
parent
78e9c17be3
commit
483217934c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user