diff --git a/src/plots/cartesian/dragbox.js b/src/plots/cartesian/dragbox.js index 6f8d03c8cc2..486fa4a97f1 100644 --- a/src/plots/cartesian/dragbox.js +++ b/src/plots/cartesian/dragbox.js @@ -434,13 +434,6 @@ function makeDragBox(gd, plotinfo, x, y, w, h, ns, ew) { recomputeAxisLists(); - // if the plot has scrollbars (more than a tiny excess) - // disable scrollzoom too. - if(pc.scrollHeight - pc.clientHeight > 10 || - pc.scrollWidth - pc.clientWidth > 10) { - return; - } - clearTimeout(redrawTimer); var wheelDelta = -e.deltaY;