cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.81k forks source link

Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080 #1154

Closed huoxudong125 closed 7 years ago

huoxudong125 commented 7 years ago

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

_move @ VM46763 iscroll-probe.js:528 handleEvent @ VM46763 iscroll-probe.js:1689

huoxudong125 commented 7 years ago

this is a breaking change in Chrome 56 to improve scroll performance. You probably need to add an appropriate touch-action CSS rule to explicitly disable touch scrolling.

cbravo commented 7 years ago

+1