This commit is contained in:
parent
62f30ca856
commit
82a0932102
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl
|
|||
return true;
|
||||
}
|
||||
let newCellElement;
|
||||
if (event.key === "ArrowLeft") {
|
||||
if (event.key === "ArrowLeft" || matchHotKey("⇧⇥", event)) {
|
||||
const previousRowElement = rowElement.previousElementSibling;
|
||||
if (selectCellElement.previousElementSibling && !selectCellElement.previousElementSibling.classList.contains("av__firstcol")) {
|
||||
if (selectCellElement.previousElementSibling.classList.contains("av__cell")) {
|
||||
|
@ -54,7 +54,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl
|
|||
event.preventDefault();
|
||||
return true;
|
||||
}
|
||||
if (event.key === "ArrowRight") {
|
||||
if (event.key === "ArrowRight" || matchHotKey("⇥", event)) {
|
||||
const nextRowElement = rowElement.nextElementSibling;
|
||||
if (selectCellElement.nextElementSibling && selectCellElement.nextElementSibling.classList.contains("av__cell")) {
|
||||
newCellElement = selectCellElement.nextElementSibling;
|
||||
|
|
Loading…
Add table
Reference in a new issue