-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
A modal presented from a modal does not trigger onWillDismiss
when dismissed.
#11702
Comments
Good find! We will take a look at this. |
manucorporat
added a commit
to manucorporat/ionic
that referenced
this issue
Jun 15, 2017
manucorporat
added a commit
to manucorporat/ionic
that referenced
this issue
Jun 16, 2017
manucorporat
added a commit
that referenced
this issue
Oct 6, 2017
* fix(overlay): onWillDismiss is called as expected fixes #11702 * Fix condition
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
If a modal is presented from another modal, dismissing the top-most modal will not trigger the
onWillDismiss
handler. TheonDidDismiss
handler is triggered as expected.Expected behavior:
Both the
onWillDismiss
andonDidDismiss
handlers should be triggered.Steps to reproduce:
Demo Plunker: http://plnkr.co/edit/yjjl5XHd8ru69V8vPDqC?p=preview
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: