场景描述:
在uniapp中的弹窗pop中使用scroll-view频繁滚动出现报错
[Intervention]Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted 解决报错
解决办法:
因为事件冒泡, scroll-view 组件的 touchmove 事件可以传递到模态框。
给 scroll-view 取消冒泡 报错没了,问题成功解决。
<scroll-view class="content" scroll-y @touchmove.stop> <view class="content-main">xxxxxxxxxxxx</view> </scroll-view>
其他参考链接: 解决 scroll-view 组件 [Intervention] 报错
标签:Ignored,attempt,scroll,cancelable,touchmove,报错,false,event,view From: https://www.cnblogs.com/dafei4/p/18530157