-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[colReorder] warning Added non-passive event listener to a scroll-blocking #487
Comments
Hi, to see the warning just go to https://datatables.net/extensions/colreorder/examples/initialisation/simple.html This should be fixed as Chrome staring to turn these warning to error in some case. |
This should be reopen to make sure this get fixed |
We've got it in our own tracker, and also it is in the forum, but yes, it can be open here as well. |
This issue is still present Here is my actual solution, I placed this code completey at the end of the page after Datatables
|
That looks like it would make all non capture events passive on the page? I wouldn't feel comfortable putting that into the library. Part of the issue is that there isn't yet a jQuery way of assigning a passive event listener. We'll probably just need to restrict our browser support and use the event natively. |
I'm testing colReorder v 1.5.2
I'm getting this warning
Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive.
The text was updated successfully, but these errors were encountered: