We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20ff45e + cac9c74 commit 33e6c0eCopy full SHA for 33e6c0e
src/features/edit/js/gridEdit.js
@@ -530,7 +530,9 @@
530
531
cellNavNavigateDereg = uiGridCtrl.grid.api.cellNav.on.navigate($scope, function (newRowCol, oldRowCol) {
532
if ($scope.col.colDef.enableCellEditOnFocus) {
533
- if (newRowCol.row === $scope.row && newRowCol.col === $scope.col) {
+ // Don't begin edit if the cell hasn't changed
534
+ if ((!oldRowCol || newRowCol.row !== oldRowCol.row || newRowCol.col !== oldRowCol.col) &&
535
+ newRowCol.row === $scope.row && newRowCol.col === $scope.col) {
536
$timeout(function () {
537
beginEdit();
538
});
0 commit comments