Skip to content

Commit 8fc9ee3

Browse files
committed
Use height of regular table element in determining row range
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent dce828e commit 8fc9ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/scroll_panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class RegularVirtualTableViewModel extends HTMLElement {
178178
const header_levels = this._view_cache.config.column_pivots.length;
179179
const total_scroll_height = Math.max(
180180
1,
181-
this._virtual_panel.offsetHeight - height,
181+
this._virtual_panel.offsetHeight - this.clientHeight,
182182
);
183183
const percent_scroll =
184184
Math.max(Math.ceil(this.scrollTop), 0) / total_scroll_height;

0 commit comments

Comments
 (0)