diff --git a/src/components/toast/toast.scss b/src/components/toast/toast.scss index 9c146beaf25..b7242c6cd58 100644 --- a/src/components/toast/toast.scss +++ b/src/components/toast/toast.scss @@ -18,6 +18,8 @@ ion-toast { width: $toast-width; height: $toast-width; + + pointer-events: none; } .toast-container { @@ -25,11 +27,13 @@ ion-toast { align-items: center; - button { - padding: 19px 16px 17px; + pointer-events: auto; +} + +.toast-button { + padding: 19px 16px 17px; - font-size: 1.5rem; - } + font-size: 1.5rem; } .toast-message { diff --git a/src/components/toast/toast.ts b/src/components/toast/toast.ts index d8ddcefea79..650b3f4dec3 100644 --- a/src/components/toast/toast.ts +++ b/src/components/toast/toast.ts @@ -122,7 +122,6 @@ export class Toast extends ViewController { @Component({ selector: 'ion-toast', template: ` -
{{d.message}}
@@ -189,12 +188,6 @@ class ToastCmp { } } - bdClick() { - if (this.isEnabled() && this.d.enableBackdropDismiss) { - this.dismiss('backdrop'); - } - } - cbClick() { if (this.isEnabled()) { this.dismiss('close'); diff --git a/src/components/toggle/toggle.ts b/src/components/toggle/toggle.ts index 6247f3012cf..26e92830850 100644 --- a/src/components/toggle/toggle.ts +++ b/src/components/toggle/toggle.ts @@ -192,7 +192,6 @@ export class Toggle implements ControlValueAccessor { * @private */ private _setChecked(isChecked: boolean) { - console.debug('_setChecked') if (isChecked !== this._checked) { this._checked = isChecked; if (this._init) {