alvarotrigo / alvarotrigo/fullPage.js
Propagate touch events on fixed positioned elements outside wrapper.
- 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
```
```
JS
`$('#sections').fullpage();`
Any help is appreciated. Thanks
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.