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 表示启用单指垂直平移手势(上下滑动事件)。
1* {
2 touch-action: pan-y;
3}
参考:https://blog.csdn.net/weixin_44157964/article/details/108053521
标题:EasyUI报错[Intervention] Unable to preventDefault inside passive event listener due to
作者:zzzzchen
地址:https://www.dczzs.com/articles/2021/08/13/1628850252991.html