Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing a modal page from another modal page results in error on iOS. #423

Closed
hamorphis opened this issue Jul 13, 2015 · 3 comments
Closed

Comments

@hamorphis
Copy link
Contributor

Warning: Attempt to present UIViewControllerImpl 1 on UIViewControllerImpl 2 whose view is not in the window hierarchy!

@stonecourier
Copy link

I had a similar problem with this on Android. My "fix" was to ensure the popup passed the root page reference to the new popup, not use the modal page's page instance. This seemed to work fine from then on.

@hamorphis
Copy link
Contributor Author

In fact, this is a limitation of the iOS. The developer will have to make sure that he has dismissed one modal page before showing another one. The master page on which you call .showModal has to be visible when you call it. In order to be visible in iOS, you would have to close the previous modal page with the supplied closeCallback. Since we can't really fix anything in our code, I am going to close this issue.

@lock
Copy link

lock bot commented Aug 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants