EasyUI报错[Intervention] Unable to preventDefault inside passive event listener due to
在使用EasyUI的slider组件时,拖动滑块报错[Intervention] Unable to preventDefault inside passive event listener due to。
解决方法:
在style全局样式添加* {touch-action: pan-y;}, pan-y表示启用单指垂直平移手势(上下滑动事件)。
* {
touch-action: pan-y;
}
参考:https://blog.csdn.net/weixin_44157964/article/details/108053521
标题:EasyUI报错[Intervention] Unable to preventDefault inside passive event listener due to
作者:zzzzchen
地址:https://dczzs.com/articles/2021/08/13/1628850252991.html