We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1dc9931 + e31ac53 commit 8f53459Copy full SHA for 8f53459
src/features/cellnav/js/cellnav.js
@@ -681,8 +681,10 @@
681
if (grid.cellNav.lastRowCol === null || rowColSelectIndex === -1) {
682
var newRowCol = new GridRowColumn(row, col);
683
684
- grid.api.cellNav.raise.navigate(newRowCol, grid.cellNav.lastRowCol);
685
- grid.cellNav.lastRowCol = newRowCol;
+ if (grid.cellNav.lastRowCol === null || grid.cellNav.lastRowCol.row !== newRowCol.row || grid.cellNav.lastRowCol.col !== newRowCol.col){
+ grid.api.cellNav.raise.navigate(newRowCol, grid.cellNav.lastRowCol);
686
+ grid.cellNav.lastRowCol = newRowCol;
687
+ }
688
if (uiGridCtrl.grid.options.modifierKeysToMultiSelectCells && modifierDown) {
689
grid.cellNav.focusedCells.push(rowCol);
690
} else {
0 commit comments