fix: use left, right, up, down keys while editing cell value
This commit is contained in:
parent
d2c4e21cca
commit
42a236d9c8
@ -643,7 +643,7 @@ export default class CellManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
focusCellInDirection(direction) {
|
focusCellInDirection(direction) {
|
||||||
if (!this.$focusedCell) {
|
if (!this.$focusedCell || (this.$editingCell && ['left', 'right', 'up', 'down'].includes(direction))) {
|
||||||
return false;
|
return false;
|
||||||
} else if (this.$editingCell && ['tab', 'shift+tab'].includes(direction)) {
|
} else if (this.$editingCell && ['tab', 'shift+tab'].includes(direction)) {
|
||||||
this.deactivateEditing();
|
this.deactivateEditing();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user