Skip to content

Commit 675150f

Browse files
authored
Merge pull request #2064 from plotly/table-fastscroll-stop-glitch-fix
Fix for table scroll glitch
2 parents 8ba25c6 + b64c5c8 commit 675150f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/table/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ function conditionalPanelRerender(gd, tableControlView, cellsColumnBlock, pages,
705705
// setTimeout might lag rendering but yields a smoother scroll, because fast scrolling makes
706706
// some repaints invisible ie. wasteful (DOM work blocks the main thread)
707707
var toRerender = cellsColumnBlock.filter(function(d, i) {return i === revolverIndex && pages[i] !== prevPages[i];});
708-
renderColumnCellTree(gd, tableControlView, toRerender, toRerender);
708+
renderColumnCellTree(gd, tableControlView, toRerender, cellsColumnBlock);
709709
prevPages[revolverIndex] = pages[revolverIndex];
710710
});
711711
}

0 commit comments

Comments
 (0)