From b8c4ea639f41d51514b58d4d48e8180ee882ecad Mon Sep 17 00:00:00 2001 From: MartoYankov Date: Thu, 27 Sep 2018 17:07:13 +0300 Subject: [PATCH] fix broken transforms because of wrong view bounds --- tns-core-modules/ui/core/view/view.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tns-core-modules/ui/core/view/view.ios.ts b/tns-core-modules/ui/core/view/view.ios.ts index 17ec8014b..e9988f482 100644 --- a/tns-core-modules/ui/core/view/view.ios.ts +++ b/tns-core-modules/ui/core/view/view.ios.ts @@ -175,7 +175,7 @@ export class View extends ViewCommon { } const boundsOrigin = nativeView.bounds.origin; - const boundsFrame = nativeView.frame; + const boundsFrame = adjustedFrame || frame; nativeView.bounds = CGRectMake(boundsOrigin.x, boundsOrigin.y, boundsFrame.size.width, boundsFrame.size.height); this._raiseLayoutChangedEvent();