# Ionic click events not working on device

**URL:** <https://forum.ionicframework.com/t/ionic-click-events-not-working-on-device/94668>\
**Category:** ionic-v3\
**Created:** [June 16, 2017, 1:17pm UTC](https://forum.ionicframework.com/t/ionic-click-events-not-working-on-device/94668 "2017-06-16T13:17:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkanmori](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mkanmori](https://forum.ionicframework.com/u/mkanmori)\
**Post date:** [June 16, 2017, 1:17pm UTC](https://forum.ionicframework.com/t/ionic-click-events-not-working-on-device/94668/1 "2017-06-16T13:17:41Z")

</div>

Hi,

My click events work fine using ionic serve but are not working on either ios or android.

I’m following a video tutorial and also written ones, which tell me to use the following

**HTML**  
`<button ion-button icon-only (click)="CancelPickup();">`

**TS**

```auto
import {Component} from '@angular/core';
import {NavController} from 'ionic-angular';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {
  constructor(private navCtrl: NavController) {
    this.isPickupRequested = false;
  }

  CancelPickup() {
    this.isPickupRequested = false;
    console.log("cancel pickup ran");
  }
}

```

Am I missing something obvious because when I click the buttons nothing happens at all?

Also tried the (tap) event.

---

<div class="post-metadata">

**Author:** ![mkanmori](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mkanmori](https://forum.ionicframework.com/u/mkanmori)\
**Post date:** [June 16, 2017, 2:00pm UTC](https://forum.ionicframework.com/t/ionic-click-events-not-working-on-device/94668/2 "2017-06-16T14:00:29Z")

</div>

It’s due to my map which is blocking the events being passed to the buttons!
