alvarotrigo / alvarotrigo/fullPage.js

Swiping with multiple fingers triggers scrolling

Aperta
#2,540 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
35.4k
Fork
7.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description
On mobile devices, the scrolling to another slide is triggered even when touching with two or more fingers. This is problematic, for example, when having an embedded Google Map with [Cooperative Gesture Handling](https://developers.google.com/maps/documentation/javascript/examples/interaction-cooperative)

I think that any kind of multi-finger gesture shouldn't be triggering any slide/section events.

Is there a currently way to prevent this, either entirely or via an option?

### Link to isolated reproduction with no external CSS / JS
You can try it in http://alvarotrigo.com/fullPage/

### Steps to reproduce it
1. Load a fullPage site with touch scrolling enabled
2. Swipe down with two or more fingers

### Versions
Chrome for Android, Chrome for iOS, Safari for iOS

Thanks

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.