Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions packages/core/ui/core/view/index.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,14 @@ export class View extends ViewCommon implements ViewDefinition {
this._hasTransform = false;
this._hasPendingTransform = false;

// Make sure shadows get removed
this.style.backgroundInternal.clearFlags |= BackgroundClearFlags.CLEAR_BOX_SHADOW;
// If native view extends UIView, perform a background cleanup to get rid of shadow layers
if (this.nativeViewProtected instanceof UIView) {
// Make sure shadows get removed
this.style.backgroundInternal.clearFlags |= BackgroundClearFlags.CLEAR_BOX_SHADOW;

// Perform background cleanup
iosBackground.clearBackgroundVisualEffects(this);
// Perform background cleanup
iosBackground.clearBackgroundVisualEffects(this);
}
}

public requestLayout(): void {
Expand Down