-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
[v2 beta.11] overlay components don't display as expected #7574
Comments
In investigating a little further, I think I have found a possible explanation. My nested component page does the following:
|
Hello! Thanks for opening an issue with us! Would you mind creating a repo that demonstrates this issue? Thanks for using Ionic! |
Hi, I'll see what I can put together. But I think my instructions are pretty clear on how to dupe, no? |
Hello, after testing this seems to be caused by the same bug that causes this issue #7605. Because of that I am going to close this issue as a duplicate. Thanks for using Ionic! |
Short description of the problem:
In my ionic app I have some code at the root component that listens for events. Then, based on these events it's creates and presents overlay components like alert, loading, and modals. I switched this code to use the respective controllers in beta 11, hoping it would alleviate some problems I was having before beta.11. Anyway, the problem is that If the user has navigated a few pages deep and an event is fired so that the root component creates and presents an overlay... there seems to be a conflict with the current navigation stack and the components do not always display. This is especially the case if, for example, a loading component has been presented by a page a few levels deep in the nav stack and then an event is fired that would cause the root element to present a modal. The modal seems to be in the DOM but not accessible.
What behavior are you expecting?
I expect any overlay that is presented to be displayed regardless of which component in the nav stack called the present() method. I also thought that, with the introduction of overlay controllers, there would no longer be a conflict between the various overlays and the nav controller. but that does not seem to be the case.
Steps to reproduce:
Which Ionic Version?
[email protected]
The text was updated successfully, but these errors were encountered: