Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 'unable to preventDefault inside passive event listener due to target being treated as passive' #122

Open
theorlovsky opened this issue Sep 7, 2018 · 1 comment

Comments

@theorlovsky
Copy link

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

@Srimugan
Copy link

Srimugan commented May 9, 2019

Any updated regarding this issue??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants