alvarotrigo / alvarotrigo/fullPage.js

Allow scroll only by controlArrow (disable gestures)

Đang mở
#1,906 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
JavaScript
Star
35.4k
Fork
7.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.