diff --git a/packages/core/ui/core/view/index.ios.ts b/packages/core/ui/core/view/index.ios.ts index c041aaf7b6..a21d8c89df 100644 --- a/packages/core/ui/core/view/index.ios.ts +++ b/packages/core/ui/core/view/index.ios.ts @@ -42,7 +42,6 @@ export class View extends ViewCommon implements ViewDefinition { private _modalAnimatedOptions: Array; private _isLaidOut = false; private _hasTransform = false; - private _hasPendingTransform = false; private _privateFlags: number = PFLAG_LAYOUT_REQUIRED | PFLAG_FORCE_LAYOUT; private _cachedFrame: CGRect; private _suspendCATransaction = false; @@ -68,7 +67,6 @@ export class View extends ViewCommon implements ViewDefinition { this._cachedFrame = null; this._isLaidOut = false; this._hasTransform = false; - this._hasPendingTransform = false; } public requestLayout(): void { @@ -140,10 +138,6 @@ export class View extends ViewCommon implements ViewDefinition { } this.updateBackground(sizeChanged, needsLayout); - if (this._hasPendingTransform) { - this.updateNativeTransform(); - this._hasPendingTransform = false; - } this._privateFlags &= ~PFLAG_FORCE_LAYOUT; } @@ -400,11 +394,6 @@ export class View extends ViewCommon implements ViewDefinition { } public updateNativeTransform() { - if (!this.isLayoutValid) { - this._hasPendingTransform = true; - return; - } - const scaleX = this.scaleX || 1e-6; const scaleY = this.scaleY || 1e-6; const perspective = this.perspective || 300;