mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
fix(layouts): Set automaticallyAdjustsScrollViewInsets (#5311)
This commit is contained in:

committed by
Svetoslav

parent
58d61caf59
commit
b492996647
@ -106,6 +106,9 @@ class UIViewControllerImpl extends UIViewController {
|
||||
frame._updateActionBar(owner);
|
||||
}
|
||||
|
||||
// Set autoAdjustScrollInsets in will appear - as early as possible
|
||||
iosView.updateAutoAdjustScrollInsets(this, owner);
|
||||
|
||||
// Pages in backstack are unloaded so raise loaded here.
|
||||
if (!owner.isLoaded) {
|
||||
owner.callLoaded();
|
||||
@ -419,4 +422,4 @@ function invalidateTopmostController(controller: UIViewController): void {
|
||||
invalidateTopmostController(childController);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user