Ignored attempt to cancel a touchmove event

Ignored attempt to cancel a touchmove event

http://img1.sycdn.imooc.com//climg/5f7d99380910ddd018640899.jpg


报错完整信息:

[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

请问这个是什么问题?,添加 touch-action:none;  列表页都无法向下滑动了,哪为同学有好的解决方法

正在回答

登陆购买课程后可参与讨论,去登陆

3回答

https://developer.mozilla.org/zh-CN/docs/Web/CSS/touch-action

http://img1.sycdn.imooc.com//climg/5f7db8d009662e4311060398.jpg

你又加在了*上,所以所有的元素都禁止了滚动。


问题答案:

  1.  https://stackoverflow.com/questions/26478267/touch-move-getting-stuck-ignored-attempt-to-cancel-a-touchmove

  2. https://www.zhihu.com/question/36674913


  • weixin_慕勒2431477 提问者 #1
    不行啊,老师,我也没看到你的代码里面加了这些东西,这个问题是不是mint-ui 的loadmore组件的问题,怎么解决?
    2020-10-07 21:56:43
提问者 weixin_慕勒2431477 2020-10-08 13:46:20

解决方法来了,请坐好。

就是重写源码,我把与源码的loadmore,考了一份出来,新建mt-loadmore ,然后再在上面改,以下是我改的截图

http://img1.sycdn.imooc.com//climg/5f7ea76a09161efe16790743.jpg最后附上一个我解决问题时参考的链接,也谢谢,老师Brian的帮助

https://www.cnblogs.com/liguanlong/p/12558734.html

提问者 weixin_慕勒2431477 2020-10-07 22:09:21

http://img1.sycdn.imooc.com//climg/5f7dcbbd0916c66917680977.jpg

报错信息点过去,指向的是mint-ui loadmore 组件,这个问题该怎么解决,老师?

问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师