Skip to content

Commit a1ba1f6

Browse files
edusperoniNathanWalker
authored andcommitted
fix(ios): force layout of view when changing the safe area insets (#9773)
1 parent e59f3ff commit a1ba1f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/core/ui/core/view/index.ios.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ export class View extends ViewCommon implements ViewDefinition {
197197
const boundsOrigin = nativeView.bounds.origin;
198198
const boundsFrame = adjustedFrame || frame;
199199
nativeView.bounds = CGRectMake(boundsOrigin.x, boundsOrigin.y, boundsFrame.size.width, boundsFrame.size.height);
200+
nativeView.layoutIfNeeded();
200201

201202
this._raiseLayoutChangedEvent();
202203
this._isLaidOut = true;

0 commit comments

Comments
 (0)