Unable to preventdefault inside passive event listener due to target being treated as passive


584. I was looking for a solution for "[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. April 11, 2018, at 4:20 PM . jQuery element not responding to touchend: Unable to preventDefault inside passive event listener due to target being treated as passive Ask Question Asked 2 months ago touchmove. Then, image not able to dragscroll & warning display in console.


[Chrome Dev Tools - Mobile] Unable to preventDefault inside passive event listener due to target being treated as passive. Universal SubscriptionOur Best Value – includes over 600 UI Controls, our award-winning reporting platform, DevExpress Dashboard, the eXpressApp Framework, CodeRush for Visual Studio and more. 这是什么鬼东西,还是不懂,所以只好复制报错信息百度. 2, use the CSS attribute touch-action: none; so that any touch event will not produce a default behavior, but the touch event is also triggered. I used dragscroll.js in my code. Touch-action has many options, please refer to the details touch-action. 我有道词典翻译了一下:由于目标被视为被动事件监听器,无法阻止默认设置. When I double tap on image and then drag scroll it. touchstart. Unable to preventDefault inside passive event listener due to target being treated as passive. #468
Note that the touchstart and touchmove event handler function of all elements may default to passive: true in the future. Unable to preventDefault inside passive event listener due to target being treated as passive. 只要是因为在移动端事件.