[4.0.0-rc.2] Clicking on toast buttons doesn't work
See original GitHub issueIonic version:
[x] 4.x
Current behavior: Toast buttons don’t trigger handlers in rc2.
Expected behavior: For the handlers to be fired when the buttons are clicked.
Steps to reproduce: Upgrade to rc2 and attempt to fire a method when clicking on toast buttons.
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.8.0 (/usr/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.2
@angular-devkit/build-angular : 0.12.1
@angular-devkit/schematics : 7.2.1
@angular/cli : 7.2.1
@ionic/angular-toolkit : 1.2.2
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 13 other plugins)
System:
Android SDK Tools : 26.1.1 (/path/Android/Sdk)
NodeJS : v8.15.0 (/usr/bin/node)
npm : 6.4.1
OS : Linux 4.18
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[4.0.0-rc.2] Clicking on toast buttons doesn't work #17136
Current behavior: Toast buttons don't trigger handlers in rc2. Expected behavior: For the handlers to be fired when the buttons are clicked.
Read more >react-toastify - npm
Sometimes you don't want to display a close button. It can be removed globally or per toast. Pass false to closeButton props: remove...
Read more >Bootstrap Toast won't show on button click - Stack Overflow
Using Bootstrap 5, I have the following Toast message placed at the end of my HTML file: <div class="toast-container position-absolute p-3 ...
Read more >ion-toast Component: A Dismissible App Notification Alert
The following example demonstrates how to use the buttons property to add a button that automatically dismisses the toast when clicked, as well...
Read more >Demos > Toast - Angular Material
Toast can be dismissed with a swipe, a timer, or a button. Notice the 'Show Custom' toast will not nudge the FABs positions...
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
Thanks for the issue! I was able to reproduce this. It seems to be related to
ion-activatable
as removing that makes it work again. We will look into this.Fixed by https://github.com/ionic-team/ionic/commit/7832be3f1cbd119c7cf85c2fe261e2fff5e28eb6! Thanks for the issue!