mui 页面提示:Unable to preventDefault inside passive

时间:2022-11-14 15:08:55

页面提示:

点击该事件:页面提示:【8mui.min.js:7 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080.】

解方法:给您的样式中加入下面的样式即可解决去掉错误提示。

* { touch-action: none; }

原文:http://www.8sk.cn/article/155.html