Describe the bug
I'm experiencing an issue in Tabulator version 6.3.0 when scrolling up with the keyboard arrow keys in a table. When reaching the top of the table using the "up" arrow key, a large blank space appears above the first row. However, I noticed that removing the rowHeight parameter (currently set to rowHeight: 23) seems to fix the problem, so I believe the issue may be related to this setting.
Create a table using Tabulator with the parameter rowHeight set (e.g., rowHeight: 23).
Populate it with several rows of data (enough rows to generate significant scroll length).
Use the keyboard "down" arrow key or scroll to reach the very bottom of the table.
Then, use the keyboard "up" arrow key to scroll back to the top.
Observe the blank space that appears above the first row once the top is reached.
Expected behavior
The first row should align with the top of the table, with no extra white space above it.
Actual Behavior
A large blank space is displayed above the first row, which disrupts the table layout. Removing the rowHeight parameter seems to prevent this issue.
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser Chrome 130.0.6723.117 and Firefox 115.9.1
Additional context
The issue only occurs when scrolling to the top using the "up" arrow key on the keyboard after having scrolled to the very bottom. This problem does not appear when scrolling up with a mouse or trackpad. It is important to have a large number of rows in the table to create a scroll with a significant distance. This behavior has been tested on multiple browsers with consistent results, suggesting that the rowHeight setting may affect keyboard navigation specifically.
Describe the bug I'm experiencing an issue in Tabulator version 6.3.0 when scrolling up with the keyboard arrow keys in a table. When reaching the top of the table using the "up" arrow key, a large blank space appears above the first row. However, I noticed that removing the rowHeight parameter (currently set to rowHeight: 23) seems to fix the problem, so I believe the issue may be related to this setting.
Tabulator Info
Working Example
To Reproduce
Expected behavior The first row should align with the top of the table, with no extra white space above it.
Actual Behavior A large blank space is displayed above the first row, which disrupts the table layout. Removing the rowHeight parameter seems to prevent this issue.
Screenshots
Desktop (please complete the following information):
Additional context The issue only occurs when scrolling to the top using the "up" arrow key on the keyboard after having scrolled to the very bottom. This problem does not appear when scrolling up with a mouse or trackpad. It is important to have a large number of rows in the table to create a scroll with a significant distance. This behavior has been tested on multiple browsers with consistent results, suggesting that the rowHeight setting may affect keyboard navigation specifically.