怎样才能不让touchmove事件阻止页面滚动呢

发布于 7 年前作者 chao8011353 次浏览最后编辑 7 年前来自 ask

一个元素绑定了touchmove事件,当手指滑动这个元素时页面不能滚动,怎么才能不让rouchmove阻止页面滚动呢?

2 回复
luona
luona1 楼6 年前

谢谢,已经解决了

xiuyingyin
xiuyingyin2 楼5 年前

bindtouchmove就好了, 别用catchtouchmove,这个会拦截事件