chrome phone side slide list when there will be a lot of console prompt solution

problem:

Unable to preventDefault inside passive event listener

It can be added to touch-action the properties, particularly with reference to the MDN,

https://developer.mozilla.org/zh-CN/docs/Web/CSS/touch-action

 

For example, horizontal scrolling title tab can join

touch-action: pan-y;

 

Guess you like

Origin www.cnblogs.com/llcdbk/p/11548515.html