Skip to content

Commit 9e995e9

Browse files
committed
fix(edit): deep edit keydown logic wasn't right
1 parent fbc38cb commit 9e995e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/features/edit/js/gridEdit.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -882,10 +882,10 @@
882882
}
883883

884884
if ($scope.deepEdit &&
885-
evt.keyCode === uiGridConstants.keymap.LEFT ||
886-
evt.keyCode === uiGridConstants.keymap.RIGHT ||
887-
evt.keyCode === uiGridConstants.keymap.UP ||
888-
evt.keyCode === uiGridConstants.keymap.DOWN) {
885+
(evt.keyCode === uiGridConstants.keymap.LEFT ||
886+
evt.keyCode === uiGridConstants.keymap.RIGHT ||
887+
evt.keyCode === uiGridConstants.keymap.UP ||
888+
evt.keyCode === uiGridConstants.keymap.DOWN)) {
889889
evt.stopPropagation();
890890
}
891891
// Pass the keydown event off to the cellNav service, if it exists

0 commit comments

Comments
 (0)