From a61943fe88b624ecde58834f74608b1398c0408e Mon Sep 17 00:00:00 2001 From: kssfilo Date: Fri, 12 May 2017 19:54:08 +0900 Subject: [PATCH] fix ios modal layout issue #4151 --- tns-core-modules/ui/page/page.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tns-core-modules/ui/page/page.ios.ts b/tns-core-modules/ui/page/page.ios.ts index a5429c85e..1358372a0 100644 --- a/tns-core-modules/ui/page/page.ios.ts +++ b/tns-core-modules/ui/page/page.ios.ts @@ -343,7 +343,7 @@ export class Page extends PageBase { public requestLayout(): void { super.requestLayout(); - if (!this.parent && this.ios && this.nativeView) { + if ((!this.parent || this._modalParent) && this.ios && this.nativeView) { this.nativeView.setNeedsLayout(); } }