Overlay components cannot find the component to present from
See original GitHub issueShort description of the problem:
Opening an overlay component in ionViewDidEnter
never actually presents the component because the overlay cannot find the component that it should present from.
This is the NavPortal when opening an overlay component in ionViewDidEnter
:
This is the NavPortal when opening an overlay component in a timeout in ionViewDidEnter
:
Steps to reproduce:
- Try to open an overlay component such as a loading or alert in
ionViewDidEnter
Which Ionic Version? 2.0.0-beta.11
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Overlay components cannot find the component to present from
Short description of the problem: Opening an overlay component in ionViewDidEnter never actually presents the component because the overlay ...
Read more >Cannot find @angular/core and many other components even ...
Install @angular/material by this command ng add @angular/material . Error is because you didn't install @angular/cdk .
Read more >Lightning Overlay Issues - Salesforce Stack Exchange
When I redirect to account record Page I am getting "Page does not exists" error popup. Overlay component: <aura:component implements="force: ...
Read more >Angular Data Grid: Overlay Component - AG Grid
Overlay components allow you to add your own overlays to AG Grid. Use these when the provided overlays do not meet your requirements....
Read more >Create overlays in your prototypes - Figma Help Center
Overlays allow you to show new content or information above the current screen ... Note: Figma doesn't record Swap overlay actions in a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello all! Thanks for all the info. I am happy to report that this has been fixed and will be in the beta.12 release. Thanks for using Ionic!
@TheBrockEllis Good question! We normally do a few nightly releases before doing another full beta release, so the fix for this should be available before beta.12 (its already fixed on the master branch). Also, just so you know the workaround for this is to just wrap your logic that is in your
ionViewDidEnter
with a setTimeout. To downgrade back to beta.10 (although i would not recommend it as beta.11 has a ton of fixes for issues in beta.10) you can just follow the upgrade steps in our changelog backwards haha. Thanks for using Ionic! Finally, I added a test for this issue in my above pr (that has since been merged) so that we can watch out for this issue in the future.