vue做mui项目中报错:[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive

First, explain: Because the new Google browser issue, so an error.

History: When the browser first to respond to events of default, to check whether the default event of cancellation. This delay time so there is a trace of the response before the sliding operation.

Now: google decided to default to cancel the inspection of this event, the default time is canceled. Direct sliding operation is performed. This is more of a smooth.

Solution plus a global style

* {
  touch-action: none;
}

To

Guess you like

Origin www.cnblogs.com/famensaodiseng/p/12190770.html