catchtouchmove="true" 事件导致页面不能滚动
发布于 5 年前 作者 yong73 14933 次浏览 来自 问答

view的中的弹出层中 的catchtouchmove=“true” 事件导致页面不能滚动  是为什么 如何解决

3 回复

catchtouchmove相当于preventDefault,是会阻止页面滚动的,建议使用bindtouchmove

你好,请尽可能详细的描述问题,并提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

wechatide://minicode/4tqZ65m972tG

回到顶部