Permalink
Browse files
fix(GridRenderContainer): Redraw with scroll %
Use previous scroll percentage to redraw, not the previous scrollLeft value. The scrollLeft is too imprecise and is causing large canvases to redraw out of place. To reproduce, you could scroll the "Horizontal Scrolling" tutorial all the way right and then sort (or manually call grid.refresh()). Changing redrawInPlace() to use the previous scroll percentages fixes the issue. Fixes #2357
- Loading branch information