我編寫了一個(gè)拖拽組件,里面如下圖所示,注冊(cè)了各種事件,li的width和height都是100%,ul是給定的寬度和高度。\拖動(dòng)的時(shí)候偶爾會(huì)出現(xiàn)以下報(bào)錯(cuò),但是并不會(huì)影響正常使用?這種報(bào)錯(cuò)一般是什么情況呢?[Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.給父元素添加了touchstart阻止默認(rèn)行為的空事件也沒有改變報(bào)錯(cuò)。
- 1 回答
- 0 關(guān)注
- 524 瀏覽
添加回答
舉報(bào)
0/150
提交
取消
