alvarotrigo / alvarotrigo/fullPage.js

Allow scroll only by controlArrow (disable gestures)

Aberta
#1,906 2 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

Hi,

by using setAllowScrolling i disabled the scroll left and right, this because I need to avoid the horizontal gesture (swipe) on a device with touchscreen.
Due to this, I enabled the controlArrow in order to allow by clicking them the scrolling through the slides in horizontal.
Now the issue is that if I disable the left,right scroll the click on control arrows does not work.

I also tried by catching the event onSlideLeave but there is no way to understand if the scrolling has been made by keyboard or click instead of gesture...

Is there a way to let the cotrol arrows scroll right - left but disable only gestures?

thank you

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.