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.

Multiple overlays of different types shown at once don't work correctly

See original GitHub issue

Short description of the problem:

If I show a toast and after its present completes I show an action sheet or loading, the second view will not work correctly (action sheet buttons will not close it and the loading will not close after its duration completes).

What behavior are you expecting?

That there can be multiple different overlays shown at the same time.

Steps to reproduce:

  1. Create and show a Toast
  2. Await the toast’s present promise and then present an action sheet or loading
let t = toastCtrl.create({ message: "test", duration: 2000 });
t.present().then(() => {
   let view = actionSheetCtrl.create({ title: "test", buttons: ["Btn 1", "Btn 2"] });
   // or let view = loadingCtrl.create({ content: "text", duration: 1000 });
   view.present();
});

Which Ionic Version? 1.x or 2.x 2.x (beta 11)

Run ionic info from terminal/cmd prompt: (paste output below) Cordova CLI: 6.1.1 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.11 Ionic CLI Version: 2.0.0-beta.35 Ionic App Lib Version: 2.0.0-beta.19 OS: Node Version: v6.2.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:25 (9 by maintainers)

github_iconTop GitHub Comments

18reactions
jgw96commented, Aug 11, 2016

Hello all! Happy to confirm that this has been fixed and will be in the beta.12 release!

7reactions
ashutoshaggcommented, Aug 12, 2016

@jgw96 We are facing the same issue after upgrading to Beta 11. Can we get any intermediate solution before Beta 12 is rolled out? Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overlay Overload: Competing Popups Are an Increasing ...
One overlay is annoying enough, but when users face a barrage of multiple modals in different forms, sometimes even overlapping and stalking ...
Read more >
How to Fix Screen Overlay Error on Android - YouTube
The main thing that causes these kinds of error messages are apps like Facebook Messenger that allow small overlays to appear above other...
Read more >
Overlay Layers (Standard Feature Analysis)—ArcGIS Pro
Overlays the geometries from multiple layers into one single layer. Overlay can be used to combine, erase, modify, or update spatial features.
Read more >
Introducing Overlays - Figma
With Figma's new Overlays feature you can now show content flexibly on top of other content, interact with it and even open multiple...
Read more >
To Work With Overlays | AutoCAD 2021
To change multiple references: Shift+click to select the references. Right-click the selection Xref Type Overlay or Attach.
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