Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/traces/table/plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ module.exports = function plot(gd, wrappedTraceHolders) {
.classed(c.cn.tableControlView, true)
.style('box-sizing', 'content-box');
if(dynamic) {
let wheelEvent = 'onwheel' in document ? 'wheel' : 'mousewheel'
cvEnter
.on('mousemove', function(d) {
tableControlView
.filter(function(dd) {return d === dd;})
.call(renderScrollbarKit, gd);
})
.on('mousewheel', function(d) {
.on(wheelEvent, function(d) {
if(d.scrollbarState.wheeling) return;
d.scrollbarState.wheeling = true;
var newY = d.scrollY + d3.event.deltaY;
Expand Down