alvarotrigo / alvarotrigo/fullPage.js

Propagate touch events on fixed positioned elements outside wrapper.

Đang mở
#1,912 16 bình luận 0 reaction 0 người được giao Xem trên GitHub
documentation enhancement question
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ả

I'm using the plugin to scroll some backgrounds.
I have a fixed element in the middle of the page.

On a computer, I have no problem because the scrollwheel works well no matter where I scroll.
But on a touch enabled device, if I touch my fixed elements and move to scroll, nothing happens because the touch event isn't captured by the plugin. If I touch outside the element, the plugin works because I'm actually touching the correct element. What can I do about this?

I don't think I can put the fixed element inside the "page section" itself.

HTML example

```

Page 1

Page 2

Page 3

Page 4

```

JS
`$('#sections').fullpage();`

Any help is appreciated. Thanks

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.