Multiple overlays of different types shown at once don't work correctly
See original GitHub issueShort 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:
- Create and show a Toast
- 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:
- Created 7 years ago
- Reactions:6
- Comments:25 (9 by maintainers)
Top 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 >
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! Happy to confirm that this has been fixed and will be in the beta.12 release!
@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