We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a54c502 commit 202a997Copy full SHA for 202a997
src/traces/table/plot.js
@@ -57,13 +57,14 @@ module.exports = function plot(gd, wrappedTraceHolders) {
57
.classed(c.cn.tableControlView, true)
58
.style('box-sizing', 'content-box');
59
if(dynamic) {
60
+ let wheelEvent = 'onwheel' in document ? 'wheel' : 'mousewheel'
61
cvEnter
62
.on('mousemove', function(d) {
63
tableControlView
64
.filter(function(dd) {return d === dd;})
65
.call(renderScrollbarKit, gd);
66
})
- .on('mousewheel', function(d) {
67
+ .on(wheelEvent, function(d) {
68
if(d.scrollbarState.wheeling) return;
69
d.scrollbarState.wheeling = true;
70
var newY = d.scrollY + d3.event.deltaY;
0 commit comments