bug: chained modals doesn't close.
See original GitHub issueBug Report
Ionic version:
[x] 5.0.0
Current behavior:
The closing of modal2 doesn’t close modal1.
Expected behavior:
Modal1 to close.
Steps to reproduce:
I’ve written a sample app ready to run. It’s here: https://github.com/mluis/ionic4-modal-modal-issue
Other information:
Ionic info:
Ionic:
Ionic CLI : 5.4.12 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.2
Utility:
cordova-res : not installed
native-run (update available: 0.3.0) : 0.2.9
System:
NodeJS : v13.2.0 (/usr/local/bin/node)
npm : 6.13.4
OS : macOS High Sierra
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Twitter bootstrap modal-backdrop doesn't disappear
So the solution to my problem is to only initialize modal manually in javascript and not using data attribute, In this way I...
Read more >scrollable doesn't work on modals with component as content
When using a component as the content of a modal rather than a template, with the scrollable option set to true, the modal...
Read more >5 key things to know about the margin of error in election polls
The margin of sampling error describes how close we can reasonably expect a survey result to fall relative to the true population value....
Read more >Modal · Bootstrap v5.1
Clicking on the modal “backdrop” will automatically close the modal. Bootstrap only supports one modal window at a time. Nested modals aren't supported...
Read more >legacy-owners-manual.pdf - Overhead Door
Check garage door for binding. • If an operational problem exists, and opener will not close, the opener can be forced to close...
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 FreeTop 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
Top GitHub Comments
@mluis That is strange, I would assume dismiss closes the recently open modal, instead of the currently active one. Here is a potential workaround using modal ids https://github.com/mluis/ionic4-modal-modal-issue/pull/1
Thanks for the issue! This issue is being closed due to the lack of a reply. 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.
Thank you for using Ionic!