From 9c2f46cb191e8765bc93b74d742546c01c628d38 Mon Sep 17 00:00:00 2001 From: Mark Salsbery <> Date: Fri, 24 Sep 2021 16:20:04 -0700 Subject: [PATCH] Explicitly set passive:false for wheel event handlers to supress console warnings --- src/mousetracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mousetracker.js b/src/mousetracker.js index 75ec7be0..487202a7 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -1463,7 +1463,7 @@ tracker.element, event, delegate[ event ], - false + event === $.MouseTracker.wheelEventName ? { passive: false, capture: false } : false ); }