We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29eb6e1 + 4f8ae64 commit bdd19f6Copy full SHA for bdd19f6
src/features/edit/js/gridEdit.js
@@ -935,7 +935,7 @@
935
$timeout(function () {
936
$elm[0].focus();
937
//only select text if it is not being replaced below in the cellNav viewPortKeyPress
938
- if ($scope.col.colDef.enableCellEditOnFocus || !(uiGridCtrl && uiGridCtrl.grid.api.cellNav)) {
+ if ($elm[0].select && $scope.col.colDef.enableCellEditOnFocus || !(uiGridCtrl && uiGridCtrl.grid.api.cellNav)) {
939
$elm[0].select();
940
}
941
else {
0 commit comments