# Disable click/tap events while scrolling (horizontal)

**URL:** <https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170>\
**Category:** ionic-v3\
**Created:** [February 10, 2017, 4:13pm UTC](https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170 "2017-02-10T16:13:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![filipsuk](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@filipsuk](https://forum.ionicframework.com/u/filipsuk)\
**Post date:** [February 10, 2017, 4:13pm UTC](https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170/1 "2017-02-10T16:13:38Z")

</div>

I have horizontal list of ion-cards in ion-scroll. While sliding through them on iOS you very often accidentally fire click event on the card when you just want to slide.

Is there a way to disable click events while scrolling (maybe even few ms after scrolling stops)?

Thanks 🙂

Source example:

```
        <ion-scroll scrollX="true">
			<ion-row>
				<ion-col *ngFor="let saleProduct of data.sales" (click)="productDetail(saleProduct)" tappable>
					<ion-card>
						<div class="image-wrapper">
							<img src="...">
						</div>
						<ion-item>
							<p>...</p>
						</ion-item>
					</ion-card>
				</ion-col>
			</ion-row>
		</ion-scroll>
```

---

<div class="post-metadata">

**Author:** ![filipsuk](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@filipsuk](https://forum.ionicframework.com/u/filipsuk)\
**Post date:** [March 5, 2017, 11:01am UTC](https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170/2 "2017-03-05T11:01:13Z")

</div>

We found out that the ion-card was to problem here.

---

<div class="post-metadata">

**Author:** ![jasonwaters](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jasonwaters/32/96926_2.png) [@jasonwaters](https://forum.ionicframework.com/u/jasonwaters)\
**Post date:** [March 19, 2017, 5:00am UTC](https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170/3 "2017-03-19T05:00:54Z")

</div>

I’m having a similar issue. Can you expound on your findings?

---

<div class="post-metadata">

**Author:** ![filipsuk](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@filipsuk](https://forum.ionicframework.com/u/filipsuk)\
**Post date:** [March 19, 2017, 10:10am UTC](https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170/4 "2017-03-19T10:10:27Z")

</div>

I’m not sure if ion-card was the problem, however removing `tappable` from the elements helped a bit. Now we have opposite problem when it is too difficult to click on the elements. So I don’t have a solution yet. So annoying.

Maybe you will have more luck after reading this and related issues [https://github.com/driftyco/ionic/issues/1438](https://github.com/driftyco/ionic/issues/1438). Some people there seem to have solutions. Good luck

---

<div class="post-metadata">

**Author:** ![jasonwaters](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jasonwaters/32/96926_2.png) [@jasonwaters](https://forum.ionicframework.com/u/jasonwaters)\
**Post date:** [March 19, 2017, 7:22pm UTC](https://forum.ionicframework.com/t/disable-click-tap-events-while-scrolling-horizontal/79170/5 "2017-03-19T19:22:14Z")

</div>

I was able to workaround my issue by changing the (click) event to a (tap) event instead…
