mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix ios modal layout issue #4151
This commit is contained in:
@@ -343,7 +343,7 @@ export class Page extends PageBase {
|
|||||||
|
|
||||||
public requestLayout(): void {
|
public requestLayout(): void {
|
||||||
super.requestLayout();
|
super.requestLayout();
|
||||||
if (!this.parent && this.ios && this.nativeView) {
|
if ((!this.parent || this._modalParent) && this.ios && this.nativeView) {
|
||||||
this.nativeView.setNeedsLayout();
|
this.nativeView.setNeedsLayout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user