question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Overlay components cannot find the component to present from

See original GitHub issue

Short 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: screen shot 2016-08-08 at 11 18 59 am

This is the NavPortal when opening an overlay component in a timeout in ionViewDidEnter: screen shot 2016-08-08 at 11 11 38 am

Steps to reproduce:

  1. 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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

10reactions
jgw96commented, Sep 19, 2016

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!

2reactions
jgw96commented, Aug 9, 2016

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found