Ion-slides double tap confict with single tap

Hi all,
I used ion-slides in my app and enabled zoom, when user pinch or double tap on the slide, it will zoom in/out. I also enable single tap event on slide to show/hide the menu.
but each time when i double tap on the slide, the single tap event also fired! this is not what i want. any idea to avoid this? thanks!
Here is my code:

<ion-slides [zoom]="true" [initialSlide]="currentPageIndex - 1" (ionSlideReachStart)="firstSlide()" (ionSlideDidChange)="slideChanged()" (ionSlideTap)="onSingleTap()">
    <ion-slide *ngFor="let image of imageList; let i = index">
      <div class="swiper-zoom-container" *ngIf="image.loaded || i === 0">
        <img [src]="image.url" fit-screen />

Does anyone know how to handle both double tap and single tap on a slide page?

1 Like

Hello, have you found a solution for this? I have the same problem, zoom and ionSlideTap conflicts with each other…

I think a tap is directly executed, after the screen is touched. Try ionSlideTouchEnd for the single tap