ngx-dnd
ngx-dnd copied to clipboard
Error: 'unable to preventDefault inside passive event listener due to target being treated as passive'
I'm submitting a ...
[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Sorry, we will not be able to answer every support request. Please consider other venues for support requests
Current behavior
Browser scroll doesn't get prevented while dragging an item on a mobile device or with device toolbar in Chrome. I believe it caused by Chrome's default { passive: true }
: https://developers.google.com/web/updates/2017/01/scrolling-intervention
Expected behavior Scroll should be prevented while dragging an item.
Reproduction of the problem Open https://swimlane.github.io/ngx-dnd/ on a mobile device or with device toolbar in Chrome. Try to drag any item.
What is the motivation / use case for changing the behavior? You can't use dnd on mobile devices.
Please tell us about your environment:
-
Operating system: MacOS
-
ngx-dnd version: 3.1.0
-
Angular version: 5.0.0
-
Browser: Checked only in Chrome > 56
-
Language: all
Any updated regarding this issue??