change active cell during change to fix focus shift (#2545)

This commit is contained in:
Anthony Dresser
2018-09-12 13:22:01 -07:00
committed by GitHub
parent e18e0da0c1
commit 801e201cc3

View File

@@ -89,7 +89,7 @@ export class CellRangeSelector<T> implements ICellRangeSelector<T> {
this.canvas.classList.add(this.options.dragClass);
this.grid.focus();
this.grid.setActiveCell(cell.row, cell.cell);
let start = this.grid.getCellFromPoint(
dd.startX - $(this.canvas).offset().left,