2016-09-21 55 views

回答

0

我與版本5.2.0有同樣的問題。我不得不修改JS ...找 hasPointer:(!t.PointerEvent & & t.MSPointerEvent)並將其更改爲 hasPointer:0

當然這僅適用於移動設備,這是我的問題

0

我遇到了Chrome和水平滾動觸摸事件。我找到了我的問題here的解決方案。

TLDR:曾iscroll禁用鼠標事件,並啓用觸摸事件

this.iscroll = new IScroll(this.iscrollEl, { 
    scrollX: true, 
    scrollY: false, 
    mouseWheel: false, 
    disablePointer: true, 
    disableTouch: false, 
    disableMouse: false 
});