File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,22 @@ ion-toast {
18
18
19
19
width : $toast-width ;
20
20
height : $toast-width ;
21
+
22
+ pointer-events : none ;
21
23
}
22
24
23
25
.toast-container {
24
26
display : flex ;
25
27
26
28
align-items : center ;
27
29
28
- button {
29
- padding : 19px 16px 17px ;
30
+ pointer-events : auto ;
31
+ }
32
+
33
+ .toast-button {
34
+ padding : 19px 16px 17px ;
30
35
31
- font-size : 1.5rem ;
32
- }
36
+ font-size : 1.5rem ;
33
37
}
34
38
35
39
.toast-message {
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ export class Toast extends ViewController {
122
122
@Component ( {
123
123
selector : 'ion-toast' ,
124
124
template : `
125
- <div (click)="bdClick()" tappable disable-activated class="backdrop" role="presentation"></div>
126
125
<div class="toast-wrapper">
127
126
<div class="toast-container">
128
127
<div class="toast-message" id="{{hdrId}}" *ngIf="d.message">{{d.message}}</div>
@@ -189,12 +188,6 @@ class ToastCmp {
189
188
}
190
189
}
191
190
192
- bdClick ( ) {
193
- if ( this . isEnabled ( ) && this . d . enableBackdropDismiss ) {
194
- this . dismiss ( 'backdrop' ) ;
195
- }
196
- }
197
-
198
191
cbClick ( ) {
199
192
if ( this . isEnabled ( ) ) {
200
193
this . dismiss ( 'close' ) ;
Original file line number Diff line number Diff line change @@ -192,7 +192,6 @@ export class Toggle implements ControlValueAccessor {
192
192
* @private
193
193
*/
194
194
private _setChecked ( isChecked : boolean ) {
195
- console . debug ( '_setChecked' )
196
195
if ( isChecked !== this . _checked ) {
197
196
this . _checked = isChecked ;
198
197
if ( this . _init ) {
You can’t perform that action at this time.
0 commit comments