better-scroll Ignored attempt to cancel a touchend event with cancelable=false, for example becaus
使用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相关推荐
- [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 ...
- 修复BUG的完整过程:Ignored attempt to cancel a touchend event with cancelable=false
代码环境 "vue": "^3.2.33", "swiper": "^8.4.2", Bug表现: <swiper ...
- Ignored attempt to cancel a touchmove event with cancelable=false问题
前言:关于我在uniapp项目中使用到了u-popup弹层又在里面加入了scoll-view实现滚动,当我想试下下拉触底的时候弹出该错误,那么我们还如何解决! Ignored attempt to c ...
- 解决报错,Ignored attempt to cancel a touchmove event with cancelable=false
最近在学uni-app,写项目的时候使用 scroll-view 组件, 每次滚动,控制台都会报如下错误 [Intervention]Ignored attempt to cancel a touch ...
- Ignored attempt to cancel a touchmove event with cancelable=false
解决Ignored attempt to cancel a touchmove event with cancelable=false, 在pages.json中设置该页面 "enableP ...
- 三种方法解决[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false
问题背景,开发一个uniapp项目时,需要使用做一个能左右滑动的表,如下图 使用的组件为scroll-view,代码截图 bug:左右滑动时,会报错,报错信息如下 [Intervention] Ign ...
- [Intervention] Ignored attempt to cancel a touchmove event with cancelable=false
今天,在解决微信内部vue页面拖拽冲突的时候(感谢微信浏览器拖动出现黑色/白色背景.网址问题解决方案提供的方案)使用e.preventDefault();的时候,代码报错: [Intervention ...
- html卡死手机,手机页面加载地图,双手操作放大,APP卡死
测试手机:小米5 现象:手机页面加载地图,双手操作放大,APP卡死,APP卡住后,点击物理返回键是能返回的,但页面全部不能点击. 页面代码: initMap() ; function initMap( ...
- uniapp引用scroll-view拉到画面最底端出现报错
Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is ...
最新文章
- 解决.net webservice的WebClient或HttpWebRequest首次连接缓慢问题
- 一. synchronized 的局限性 与 Lock 的优点
- 易语言 设置屏幕刷新率 源码_一块好的手机屏幕应具备什么条件?现在了解还不晚...
- 列表迭代器ListIterator的用法
- 代号“沙尘暴”:黑客剑指日本关键基础设施
- 电脑主机,晚上就煎肉,把隔壁宿舍都馋哭了!
- Java-逻辑运算符、位运算符
- qt中设置QTabWidget,QGroupBox,QScrollArea的样式
- ssh的详细链接过程
- android语法高亮插件,安卓语法高亮编辑器 HighlightTextEditor
- 大数据之-Hadoop3.x_Yarn_基础架构---大数据之hadoop3.x工作笔记0141
- linux 双显卡 黑屏 amd,ubuntu上AMD显卡驱动黑屏问题的一种解决办法
- 如何检查Java中是否存在文件
- 【Animations】使用弹簧物理学动画运动(8)
- caffe︱Places365-CNNs For Scene Recognition
- 联想笔记本安装xp sp3 GHOST版无法安装声卡问题
- android:gravity与android:layout_gravity的区别,以及代码设置对应属性
- 啦啦外卖独立版42.0至尊版全开源含vue代码修复app没声音
- 【Python - OpenCV】数字图像项目实战(四) - 位姿估计
- Python黑客攻防(九)编写后门程序