diff --git a/src/cellmanager.js b/src/cellmanager.js index 23c6b1d..6e5357b 100644 --- a/src/cellmanager.js +++ b/src/cellmanager.js @@ -643,7 +643,7 @@ export default class CellManager { } focusCellInDirection(direction) { - if (!this.$focusedCell) { + if (!this.$focusedCell || (this.$editingCell && ['left', 'right', 'up', 'down'].includes(direction))) { return false; } else if (this.$editingCell && ['tab', 'shift+tab'].includes(direction)) { this.deactivateEditing();