Unable to preventDefault inside passive event listener invocation.

问题:如图所示

Unable to preventDefault inside passive event listener invocation.

 

解决方案:

应用 CSS 属性 touch-action: none; 

 

参考: https://segmentfault.com/a/1190000008512184?tdsourcetag=s_pcqq_aiomsg

 

posted @ 2022-08-01 16:26  点电荷  阅读(662)  评论(0)    收藏  举报