ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

ion-slides: click event not firing for the first slide #19

Open ionitron-bot[bot] opened 5 years ago

ionitron-bot[bot] commented 5 years ago

Ionic version: (check one with "x") [ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [x] 3.x

I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

ion-slides with the following setup:

<ion-slides pager [autoplay]="2000" [loop]="true"> <ion-slide tappable (click)="handleClick()"> </ion-slide> </ion-slides>

Let it loop once. After that, try to click the first slide. The event handler won't execute. Once you stop the autoplay but swiping it manually, clicking the first slide works. The issue is only with the first slide, after the first loop.

Tested with Ionic 3.4.2 on Android and iOS.

yeweinan commented 5 years ago

Hello, this bug happens in 4.0.0, ion-item-sliding as well

brycelund commented 3 years ago

This bug is still present in ionic 5

ghost commented 2 years ago

Yes, I have the same bug in ionic 5