解决移动端报错:Unable to preventDefault inside passive event listener due to target being treated as……(代码片段

Posted 王同学要努力

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决移动端报错:Unable to preventDefault inside passive event listener due to target being treated as……(代码片段相关的知识,希望对你有一定的参考价值。

解决移动端报错:Unable to preventDefault inside passive event listener due to target being treated as……

报错如下:

解决办法:

//在容器css样式添加如下代码
    touch-action: pan-y; 
//或者设置全局css
*  
    touch-action: pan-y; 

以上是关于解决移动端报错:Unable to preventDefault inside passive event listener due to target being treated as……(代码片段的主要内容,如果未能解决你的问题,请参考以下文章

移动端报错: Unable to preventDefault inside passive event listener due to target being treated as passive

解决mui错误:Unable to preventDefault inside passive event listener due to target being treated as passiv

已解决Https请求报错:unable to find valid certification path to requested target

已解决Https请求报错:unable to find valid certification path to requested target

已解决Https请求报错:unable to find valid certification path to requested target

Java Unable to load library ‘gsdll64‘: 报错,解决方案