Click Event not work sometime

Hi All,
I have a strange problem and I need your help.

Sometimes the buttons are touched (they display the animations) but the click events aren’t triggered.
here is code please check and help me

Thank you!

<button ion-button  class="buttonCenter" tappable round (click)="session()" *ngIf="user" >Generate</button>
OR
<button ion-button  class="buttonCenter" round (click)="session()" *ngIf="user" >Generate</button>
session(){
alert("Hello World);
}
1 Like