使用better-scroll在安卓上有以下问题
当页面在滑动中,然后去点击better-scroll,会报

Ignored attempt to cancel a touchend event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. at bscroll.min.js : 6

解决办法是

1.先在控制台找到报错代码的位置,以及文件目录位置
2.编辑器打开报错文件,找到报错位置,应该是在关于touchmove方法里,在执行e.preventDefault();e.stopPropagation();的if语句中加上一个条件判断 e.cancelable,就ok了

例如

if (e.cancelable) {e.preventDefault();e.stopPropagation();}

better-scroll Ignored attempt to cancel a touchend event with cancelable=false, for example becaus相关推荐

  1. [Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example becaus

    使用vue-awesome-swiper时报的错 1.[Intervention] Ignored attempt to cancel a touchmove event with cancelabl ...

  2. 修复BUG的完整过程:Ignored attempt to cancel a touchend event with cancelable=false

    代码环境 "vue": "^3.2.33", "swiper": "^8.4.2", Bug表现: <swiper ...

  3. Ignored attempt to cancel a touchmove event with cancelable=false问题

    前言:关于我在uniapp项目中使用到了u-popup弹层又在里面加入了scoll-view实现滚动,当我想试下下拉触底的时候弹出该错误,那么我们还如何解决! Ignored attempt to c ...

  4. 解决报错,Ignored attempt to cancel a touchmove event with cancelable=false

    最近在学uni-app,写项目的时候使用 scroll-view 组件, 每次滚动,控制台都会报如下错误 [Intervention]Ignored attempt to cancel a touch ...

  5. Ignored attempt to cancel a touchmove event with cancelable=false

    解决Ignored attempt to cancel a touchmove event with cancelable=false, 在pages.json中设置该页面 "enableP ...

  6. 三种方法解决[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false

    问题背景,开发一个uniapp项目时,需要使用做一个能左右滑动的表,如下图 使用的组件为scroll-view,代码截图 bug:左右滑动时,会报错,报错信息如下 [Intervention] Ign ...

  7. [Intervention] Ignored attempt to cancel a touchmove event with cancelable=false

    今天,在解决微信内部vue页面拖拽冲突的时候(感谢微信浏览器拖动出现黑色/白色背景.网址问题解决方案提供的方案)使用e.preventDefault();的时候,代码报错: [Intervention ...

  8. html卡死手机,手机页面加载地图,双手操作放大,APP卡死

    测试手机:小米5 现象:手机页面加载地图,双手操作放大,APP卡死,APP卡住后,点击物理返回键是能返回的,但页面全部不能点击. 页面代码: initMap() ; function initMap( ...

  9. uniapp引用scroll-view拉到画面最底端出现报错

    Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is ...

最新文章

  1. 解决.net webservice的WebClient或HttpWebRequest首次连接缓慢问题
  2. 一. synchronized 的局限性 与 Lock 的优点
  3. 易语言 设置屏幕刷新率 源码_一块好的手机屏幕应具备什么条件?现在了解还不晚...
  4. 列表迭代器ListIterator的用法
  5. 代号“沙尘暴”:黑客剑指日本关键基础设施
  6. 电脑主机,晚上就煎肉,把隔壁宿舍都馋哭了!
  7. Java-逻辑运算符、位运算符
  8. qt中设置QTabWidget,QGroupBox,QScrollArea的样式
  9. ssh的详细链接过程
  10. android语法高亮插件,安卓语法高亮编辑器 HighlightTextEditor
  11. 大数据之-Hadoop3.x_Yarn_基础架构---大数据之hadoop3.x工作笔记0141
  12. linux 双显卡 黑屏 amd,ubuntu上AMD显卡驱动黑屏问题的一种解决办法
  13. 如何检查Java中是否存在文件
  14. 【Animations】使用弹簧物理学动画运动(8)
  15. caffe︱Places365-CNNs For Scene Recognition
  16. 联想笔记本安装xp sp3 GHOST版无法安装声卡问题
  17. android:gravity与android:layout_gravity的区别,以及代码设置对应属性
  18. 啦啦外卖独立版42.0至尊版全开源含vue代码修复app没声音
  19. 【Python - OpenCV】数字图像项目实战(四) - 位姿估计
  20. Python黑客攻防(九)编写后门程序

热门文章

  1. Queue、Deque、LinkedList学习
  2. 用“电子政务”建设电子政务
  3. iphone5刷机教程
  4. 计量经济学——一元线性回归模型(例题)
  5. linux的操作系统相关
  6. C#用Replace把字符替换成空
  7. flex4 中获取Microphone,抑制回声和使用Speex编码音频的方法
  8. 《Unsupervised Learning of Depth and Ego-Motion from Video》读书笔记
  9. VB个性签名——在图片上写字
  10. 计算机一级b选择题相关知识点,一级B辅导资料(选择题知识点)