You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[colReorder] warning Added non-passive event listener to a scroll-blocking #487
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.
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.
Activity
[-][colReorder] warning [/-][+][colReorder] warning Added non-passive event listener to a scroll-blocking[/+]colin0117 commentedon Aug 15, 2020
also here: https://datatables.net/forums/discussion/63794/colreorder-warning-added-non-passive-event-listener-to-a-scroll-blocking#latest
lenamtl commentedon Aug 16, 2020
Hi, to see the warning just go to https://datatables.net/extensions/colreorder/examples/initialisation/simple.html
and open Chrome dev tool right click inspect tehn check console tab.
This should be fixed as Chrome staring to turn these warning to error in some case.
lenamtl commentedon Aug 24, 2020
This should be reopen to make sure this get fixed
lenamtl commentedon Apr 29, 2022
This issue is still present
Here is my actual solution, I placed this code completey at the end of the page after Datatables
AllanJard commentedon Apr 30, 2022
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.