We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b6ec4f + bdd19f6 commit 6268333Copy full SHA for 6268333
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