关于touch-action

使用 hbuilder  报错
Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

解决办法 :在CSS中加入 

    * { touch-action: none; }

posted @ 2017-03-28 10:51  heli&lonely  阅读(245)  评论(0编辑  收藏  举报