-
Notifications
You must be signed in to change notification settings - Fork 977
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
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive #533
Comments
This duplicates #210, perhaps the issue you are experiencing is not related to the violations logged in Chrome's Dev Tools. |
This is actually very easy to fix by adjusting this code: Change
to
Same for all the other places where addEventListener is just called with false parameter. Changing it to the object argument will tell Chrome that the event handler was intentionally passive and not output the warning any more. |
Fixes clauderic#533 Related to clauderic#210
This commit hasn't made it into version 2.0.0, has it? |
Hi @clauderic
I am facing a responsive issue while dragging the list element.
Any help will be highly appreciable
Plugin version: ^1.8.3
Thanks for the help
The text was updated successfully, but these errors were encountered: