I think you need to check the same using event.stopPropagation() for button events:
// HTML
<ion-item text-wrap> <ion-icon start name="ios-medkit-outline"></ion-icon> {{appointment.ProviderName}} </ion-item> <ion-row> <ion-col width-50> <button full ion-button color="secondary" (click)="confirmTrip($event)"> Confirm</button> </ion-col> <ion-col width-50> <button full ion-button color="danger" (click)="cancelTrip($event)"> Cancel</button> </ion-col> </ion-row> </ion-card-header>
//Component
cancelTrip(e){ // e.preventDefault(); // use this to prevent default event behavior e.stopPropagation(); // code to cancel trip } confirmTrip(e){ // e.preventDefault(); // use this to prevent default event behavior e.stopPropagation(); // code to confirm trip }
source share