Skip to content
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

bug: Multiple asyncronous popups block UI #4486

Closed
Zorgatone opened this issue Oct 8, 2015 · 3 comments
Closed

bug: Multiple asyncronous popups block UI #4486

Zorgatone opened this issue Oct 8, 2015 · 3 comments

Comments

@Zorgatone
Copy link

Type: bug

Platform: all

My app shows the Push notifications to the user using $ionicPopup, but sometimes blocks the user interaction when displaying too many popups all together.

I made an example here on codepen to show you the result (click on the button)..
You will be able to close some of the popups, but then an overlay is preventing you to close all of them, or interact with anything else on the page.

link: http://codepen.io/Zorgatone/pen/GpEZdP

@Zorgatone
Copy link
Author

I am coding a workaround on my app now..
I am using a wrapper function that calls $ionicPopup, and keeping state in a "popup queue", and displaying only one popup after another (instead of all together)...

@Zorgatone
Copy link
Author

I also get a similar issue when doing something like this:

$ionicPopup.alert({title: "LOL", template: "Cannot close!!"}).close();

@stefanmdt
Copy link

Same here. Because of similar problems in previous versions we used the close() function together with a custom event to ensure all popup are closed on certain situations. Now the call "kills" the whole app, which means that no interaction is possible anymore.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants