1***@qq.com
1***@qq.com
  • 发布:2020-04-08 16:33
  • 更新:2021-08-02 16:19
  • 阅读:1403

【报Bug】scroll-view 报错

分类:uni-app

报错信息如下

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

IDE版本:2.6.9.20200403

运行机器:荣耀V10、Android 10

   <!-- 侧边栏 -->  
		<scroll-view class="sidebar" scroll-y :style="'height:'+height+'px'" scroll-with-animation>  
			<view v-for="(item,index) in slideData" @click="sildebarTap(item.active,item.index)" :key="index" class="sidebar-item">{{item.index}}</view>  
		</scroll-view>
2020-04-08 16:33 负责人:无 分享
已邀请:
凌风浮云S

凌风浮云S - 一个前端的小白,将来会变大佬的!

我也遇到了,就是两个动画冲突了,在执行一个动画的时候,另一个也触发了动画,你解决了没

  • h***@163.com

    请问解决这个告警了吗


    2021-09-24 15:36

  • 凌风浮云S

    回复 h***@163.com: 我没处理,你可以限制在上下滑动的时候不允许左右滑动之类的动画


    2021-10-09 13:49

  • 老哥教教我

    回复 凌风浮云S: ···


    css


    page{


    touch-action: none;


    }


    ···


    2022-04-08 14:39

该问题目前已经被锁定, 无法添加新回复