mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(layout): IOS Layout not invalidated with custom root (#5724)
* fix(layout): Buuple up layout trough viewControllers * test: Layout invalidates correctly with different root view * chore: tslint
This commit is contained in:
committed by
Stanimira Vlaeva
parent
ade142fee7
commit
f1c0b85d95
@@ -59,6 +59,10 @@ export class View extends ViewCommon {
|
||||
if (nativeView) {
|
||||
nativeView.setNeedsLayout();
|
||||
}
|
||||
|
||||
if (this.viewController && this.viewController.view !== nativeView) {
|
||||
this.viewController.view.setNeedsLayout();
|
||||
}
|
||||
}
|
||||
|
||||
public measure(widthMeasureSpec: number, heightMeasureSpec: number): void {
|
||||
|
||||
Reference in New Issue
Block a user