Skip to content

Commit 71bbb60

Browse files
committed
fix(core): iOS fix for navigation broken after showing modal over view already showing an alert dialog
1 parent 376c4f9 commit 71bbb60

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/core/ui/page/index.ios.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,13 @@ class UIViewControllerImpl extends UIViewController {
215215
}
216216
}
217217

218-
if (!this.presentedViewController) {
218+
// TODO: testing without the check. Does not seem necessary and have very bad side effects.
219+
// if (!this.presentedViewController) {
219220
// clear presented viewController here only if no presented controller.
220221
// this is needed because in iOS9 the order of events could be - willAppear, willDisappear, didAppear.
221222
// If we clean it when we have viewController then once presented VC is dismissed then
222223
owner._presentedViewController = null;
223-
}
224+
// }
224225
}
225226

226227
@profile

0 commit comments

Comments
 (0)