Description
When the first row contains merged cells, using the keyboard Up Arrow to navigate to the first row does not correctly scroll the table, causing the first row to be partially hidden.
⸻
Steps to Reproduce
1. Use a table where the first row has merged cells
2. Scroll the table vertically so the scrollbar moves down
3. Use the Up Arrow key to navigate upward until reaching the first row
4. Observe that the first row is not fully visible
⸻
Expected Behavior
The table should automatically scroll so that the entire first row is fully visible when navigating to it with the keyboard.
⸻
Actual Behavior
The first row is partially hidden and not fully scrolled into view.
⸻
Reproduction
Official documentation example (first table):
https://jspreadsheet.com/docs/v11/merged-cells
Description
When the first row contains merged cells, using the keyboard Up Arrow to navigate to the first row does not correctly scroll the table, causing the first row to be partially hidden.
⸻
Steps to Reproduce
1. Use a table where the first row has merged cells
2. Scroll the table vertically so the scrollbar moves down
3. Use the Up Arrow key to navigate upward until reaching the first row
4. Observe that the first row is not fully visible
⸻
Expected Behavior
The table should automatically scroll so that the entire first row is fully visible when navigating to it with the keyboard.
⸻
Actual Behavior
The first row is partially hidden and not fully scrolled into view.
⸻
Reproduction
Official documentation example (first table):
https://jspreadsheet.com/docs/v11/merged-cells