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

Prevented an $ionicPopup race condition. #3294

Closed
wants to merge 1 commit into from

Conversation

cherez
Copy link

@cherez cherez commented Mar 11, 2015

This appears to fix an issue I've encountered where posting several popups at once doesn't properly release the backdrop.
I believe this is related to #3131.

@cherez
Copy link
Author

cherez commented Mar 11, 2015

I believe the cause of this issue is if you make several popups before promises get run each will see an empty popupStack and retain the backdrop, but when closing only the last will think it's alone and release it.

@cherez
Copy link
Author

cherez commented Mar 11, 2015

I'm not certain what the $timeout call was for, so I left it alone. I suspect someone more in the know could probably remove it to simplify the code.

@mlynch
Copy link
Contributor

mlynch commented Dec 6, 2015

popup has had sufficient work since this one that I'm not sure this is still needed. Closing for now, let me know if you think it should be opened again. Thanks!

@mlynch mlynch closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants