Skip to content

Commit e68a13b

Browse files
committed
fix(dialogs): iOS ensure we dont show a dialog from another one
1 parent fb2d519 commit e68a13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialogs/dialogs.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ function showUIAlertController(alertController: MDCAlertController, options: Dia
532532

533533
let viewController = Application.ios.rootController;
534534

535-
while (viewController && viewController.presentedViewController) {
535+
while (viewController && viewController.presentedViewController && !(viewController.presentedViewController instanceof MDCAlertControllerImpl)) {
536536
viewController = viewController.presentedViewController;
537537
}
538538

0 commit comments

Comments
 (0)