Toast not showing over an active modal
See original GitHub issueBug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
$ ionic info
√ Gathering environment info - done!
Ionic:
ionic (Ionic CLI) : 4.1.2 (C:\Users\Toch\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.7
@angular-devkit/core : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli : 6.1.5
@ionic/ng-toolkit : 1.0.8
@ionic/schematics-angular : 1.0.6
Cordova:
cordova (Cordova CLI) : not installed
Cordova Platforms : not available
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.4, (and 10 other plugins)
System:
NodeJS : v8.11.1 (C:\Program Files\nodejs\node.exe)
npm : 6.0.0
OS : Windows 10
Describe the Bug When using the toast controller in a modal, the toast does not show as you would expect, instead, it shows on the page behind it.
Steps to Reproduce Steps to reproduce the behavior:
- create a modal
- open modal
- create a toast
- See error
Related Code If you are able to illustrate the bug with an example, please provide a sample application via an online code collaborator such as StackBlitz, or GitHub.
Expected Behavior The toast is supposed to be visible on the modal page
Additional Context I created a feedback which abstracts the toastcontroller api and a few others into a simpler api
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Toast not showing over an active modal · Issue #15753 - GitHub
Run ionic info from a terminal/cmd prompt and paste the output below. ... When using the toast controller in a modal, the toast...
Read more >Bootstrap Toast not showing when Bootstrap Modal is closed
From bootstrap docs. "Toasts are opt-in for performance reasons, so you must initialize them yourself." Checkout their docs
Read more >Toasts · Bootstrap v5.0
Push notifications to your visitors with a toast, a lightweight and easily customizable alert message. ... Toasts are lightweight notifications designed to mimic ......
Read more >How To Create a Snackbar / Toast - W3Schools
Click on the button to show the snackbar. It will disappear after 3 seconds. Show Snackbar. Some text some message.. Create a Snackbar....
Read more >ion-modal: Ionic Mobile App Custom Modal API Component
It does not control whether or not the backdrop is active or present in the DOM. Attribute, show-backdrop. Type, boolean. Default, true. swipeToClose...
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

@Tochukwuibe no, just update the
package.jsonto beta.11 and runnpm installThanks 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.