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

Unable to preventDefault inside passive event listener due to target being treated as passive. #97

Open
rajeevriitm opened this issue Feb 10, 2017 · 0 comments

Comments

@rajeevriitm
Copy link

rajeevriitm commented Feb 10, 2017

I am getting this warning in Chrome when I drag a card.

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

It comes from this line, in Card.js

        global.addEventListener('touchmove', function (event) {
          if (dragging) {
            event.preventDefault();
          }
        });

Anyway to remove the warning? More info about this chrome warning here

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

2 participants