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. #162

Closed
stonebk opened this issue Feb 13, 2020 · 1 comment
Labels

Comments

@stonebk
Copy link
Contributor

stonebk commented Feb 13, 2020

We get the following console spam when using touch to move the slider:

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.

Some references to the change in behavior and possible solutions:

The fix might be to just explicitly set { passive: false } when adding event listeners, but want to make sure that doesn't negatively affect performance.

@stonebk stonebk added the bug label Feb 13, 2020
@stonebk
Copy link
Contributor Author

stonebk commented Feb 14, 2020

[email protected]

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

No branches or pull requests

1 participant