Repository navigation
fix: account for the vertical scrollbar in column widths - #907
Merged
spike-rabbit merged 2 commits intoNov 26, 2026
Merged
Conversation
JohnTrunix
marked this pull request as draft
November 25, 2026 13:51
JohnTrunix
force-pushed
the
fix/scrollbar-column-width
branch
from
November 25, 2026 13:56
8b08c0a to
dd6b7d4
Compare
JohnTrunix
marked this pull request as ready for review
November 25, 2026 14:03
Member
Author
|
As a reference, initially we let Claude write a patch which resolved our issue. It was the starting point for this PR... |
spike-rabbit
requested changes
Nov 25, 2026
spike-rabbit
left a comment
Member
There was a problem hiding this comment.
Thank so much for your contribution @JohnTrunix. I was having a rough look, and let my agent provide some feedback.
JohnTrunix
force-pushed
the
fix/scrollbar-column-width
branch
2 times, most recently
from
November 26, 2026 11:14
a9559b8 to
7be66dd
Compare
Measure the table width from the scroll container, excluding a visible vertical scrollbar, and recalculate the columns whenever the scrollbar appears or disappears. Previously the last column was cut off and a horizontal scrollbar appeared when the scrollbar showed up after load. Repeat the force mode distribution until no column is clamped to its min or max width, so the remaining columns absorb the delta. Use the actual scrollbar width of the scroll container to decide whether the columns bleed. Hide the horizontal overflow when only vertical scrolling is enabled.
Only fill the fully visible rows with ghost rows and clamp the last rendered row index to the row count, so ghost loading no longer causes a vertical scrollbar. Apply the body height to the ghost loader overlay, so that it clips the rows that do not fit.
JohnTrunix
force-pushed
the
fix/scrollbar-column-width
branch
from
November 26, 2026 11:57
7be66dd to
4177f57
Compare
spike-rabbit
approved these changes
Nov 26, 2026
spike-rabbit
left a comment
Member
There was a problem hiding this comment.
💯 looks good, works well. Thanks a lot for your contribution.
I will also backport it to the v27 branch so it should be released tomorrow, the latest next week.
2 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
Closes #906
What is the new behavior?
ResizeObserver), so it excludes a visible vertical scrollbar and the columns are recalculated whenever the scrollbar appears or disappears.ScrollbarHelperandverticalScrollVisibleinputs are removed.Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
The PR is split into two commits: the scrollbar and column width fix, and the ghost row overflow fix.
The resizing specs force a real 15px scrollbar (headless Chromium runs with
--hide-scrollbars), and the previously skippedBUGassertions are enabled.