From 227b1b8d9e7deb6d6f86a921eab3cc22ee2ebfcd Mon Sep 17 00:00:00 2001 From: azmy60 Date: Sun, 7 Apr 2024 01:20:24 +0700 Subject: [PATCH] fix SelectRange keyboard navigation when there is a rowheader --- src/js/modules/SelectRange/SelectRange.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/modules/SelectRange/SelectRange.js b/src/js/modules/SelectRange/SelectRange.js index cde82ef13..f91862570 100644 --- a/src/js/modules/SelectRange/SelectRange.js +++ b/src/js/modules/SelectRange/SelectRange.js @@ -457,6 +457,10 @@ export default class SelectRange extends Module { break; } } + + if(this.rowHeader && nextCol === 0) { + nextCol = 1; + } moved = nextCol !== rangeEdge.col || nextRow !== rangeEdge.row;