fix ios modal layout issue #4151

This commit is contained in:
kssfilo
2017-05-12 19:54:08 +09:00
committed by SvetoslavTsenov
parent 188a1c2c34
commit a61943fe88

View File

@@ -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();
}
}