Navigation Menu

Skip to content

Commit

Permalink
fix(ios): reset additional insets if they're zero (#10134)
Browse files Browse the repository at this point in the history
  • Loading branch information
mukaschultze committed Dec 22, 2022
1 parent c461f1b commit 8b7d5ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/ui/core/view/view-helper/index.ios.ts
Expand Up @@ -80,6 +80,8 @@ class UILayoutViewController extends UIViewController {
right: 0,
});
this.additionalSafeAreaInsets = additionalInsets;
} else {
this.additionalSafeAreaInsets = null;
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions packages/core/ui/page/index.ios.ts
Expand Up @@ -325,6 +325,8 @@ class UIViewControllerImpl extends UIViewController {
right: 0,
});
this.additionalSafeAreaInsets = additionalInsets;
} else {
this.additionalSafeAreaInsets = null;
}
}
}
Expand Down

0 comments on commit 8b7d5ab

Please sign in to comment.