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
127 stars 85 forks source link

ion-slides with multiple touches can stuck on iOS #961

Open tujlaky opened 5 years ago

tujlaky commented 5 years ago

I'm submitting a ... (check one with "x") [ x ] bug report [ ] feature request

Current behavior:

If ion-slides touched with a second finger after a touch started on iOS the slide got stuck because ion-slide not supports multiple touch events.

Expected behavior:

It should return to the starting point when the second gesture was not long enough.

Steps to reproduce:

With sliding the left thumb to left slide a little with the right thumb on the second slide.

Related code:

https://github.com/ionic-team/ionic-v3/blob/master/src/components/slides/swiper/swiper-events.ts#L552

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Ionic:

   ionic (Ionic CLI)  : 4.7.1 (/usr/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.9

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 6.4.0
   Cordova Plugins       : cordova-plugin-ionic-webview 1.2.0, (and 10 other plugins)

System:

   Android SDK Tools : 26.1.1 (/mnt/data/android/sdk)
   NodeJS            : v10.15.1 (/usr/bin/node)
   npm               : 6.4.1
   OS                : Linux 4.15
haroldh17 commented 5 years ago

I don't know if it's related but I had an issue when touching the screen with two fingers. Here is my issue on iOS:

I found a workaround though, now I use the event ionSlideTransitionEnd which works all the time. Hope it helps.

lordgreg commented 4 years ago

The issue still persists in ionic v4.