Skip to content

Commit 2757b89

Browse files
committed
Allow last column to be sub-cell scrolled to right edge if it is wider than the viewport
1 parent 0317b38 commit 2757b89

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
@@ -298,7 +298,7 @@ export class RegularVirtualTableViewModel extends HTMLElement {
298298
cidx++;
299299
}
300300

301-
return virtual_width;
301+
return virtual_width + (this._column_sizes.indices[cidx] || 0);
302302
}
303303

304304
/**

0 commit comments

Comments
 (0)