Merge remote-tracking branch 'origin/main' into fix/safe-area-layout-fixes

This commit is contained in:
Nathan Walker
2023-03-17 08:28:05 -07:00

View File

@@ -33,6 +33,10 @@ export namespace ios {
const background = view.style.backgroundInternal;
const nativeView = <NativeScriptUIView>view.nativeViewProtected;
if (!nativeView) {
return;
}
if (background.clearFlags & BackgroundClearFlags.CLEAR_BOX_SHADOW) {
// clear box shadow if it has been removed!
view.setProperty('clipToBounds', true);