We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59772c1 commit 5927343Copy full SHA for 5927343
src/plots/cartesian/dragbox.js
@@ -1202,6 +1202,7 @@ function attachWheelEventHandler(element, handler) {
1202
if(!supportsPassive) {
1203
if(element.onwheel !== undefined) element.onwheel = handler;
1204
else if(element.onmousewheel !== undefined) element.onmousewheel = handler;
1205
+ else { element.addEventListener('wheel', handler, {passive: false}); }
1206
} else {
1207
var wheelEventName = element.onwheel !== undefined ? 'wheel' : 'mousewheel';
1208
0 commit comments