From b64c5c8dfff5ec85ef6a6f7bcd026acfb1067820 Mon Sep 17 00:00:00 2001 From: Robert Monfera <monfera.robert@gmail.com> Date: Fri, 6 Oct 2017 16:08:04 +0200 Subject: [PATCH] fix for glitch sometimes occurring when manually stopping a fast scrollwheel scroll in a table with text wrapping - thanks Ricky for the report --- src/traces/table/plot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traces/table/plot.js b/src/traces/table/plot.js index 92565f15ca3..c433cc76203 100644 --- a/src/traces/table/plot.js +++ b/src/traces/table/plot.js @@ -705,7 +705,7 @@ function conditionalPanelRerender(gd, tableControlView, cellsColumnBlock, pages, // setTimeout might lag rendering but yields a smoother scroll, because fast scrolling makes // some repaints invisible ie. wasteful (DOM work blocks the main thread) var toRerender = cellsColumnBlock.filter(function(d, i) {return i === revolverIndex && pages[i] !== prevPages[i];}); - renderColumnCellTree(gd, tableControlView, toRerender, toRerender); + renderColumnCellTree(gd, tableControlView, toRerender, cellsColumnBlock); prevPages[revolverIndex] = pages[revolverIndex]; }); }