alvarotrigo / alvarotrigo/fullPage.js

Swiping with multiple fingers triggers scrolling

Aberta
#2,540 3 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
35.4k
Forks
7.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.