移动端页面小bug

滑动时页面警告

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.

解决方法

* {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}
    原文作者:前端
    原文地址: https://segmentfault.com/a/1190000018765018
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞