Skip to content

fix overflowing menu#9

Closed
azmy60 wants to merge 11 commits into
masterfrom
fix/menu-overflow
Closed

fix overflowing menu#9
azmy60 wants to merge 11 commits into
masterfrom
fix/menu-overflow

Conversation

@azmy60

@azmy60 azmy60 commented May 12, 2026

Copy link
Copy Markdown

…#4219, tabulator-tables#4525)

- fix horizontal scrollbar showing on initial display when there are groups
- fix tableholder not scrolling to bottom when there are groups
- fix tableholder jumping to top every time a group is collapsed/expanded

Implements Group.calcHeight() so group row height is non-zero, and
re-runs GroupRows.virtualRenderFill() on table-layout so minWidth is
recalculated after fitColumns has scaled the columns.

fixes tabulator-tables#4219
fixes tabulator-tables#4525
@azmy60 azmy60 requested a review from rathboma May 12, 2026 02:41
@azmy60

azmy60 commented May 19, 2026

Copy link
Copy Markdown
Author

NOTE: this doesn't need e2e test.

azmy60 and others added 10 commits May 25, 2026 14:47
…bles#4219, tabulator-tables#4525)

Covers the two headline symptoms fixed by this PR:
- tabulator-tables#4219: virtual-DOM scroll never reaches the bottom with many collapsed groups
- tabulator-tables#4525: expanding a group below the fold resets the scroll position to the top

Both require a real browser (group rows report a zero height only after layout),
so they live in the Playwright e2e suite. Verified red without the fix and green
with it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…oupScrollErrors_clean

fix: scrolling errors when all groups are collapsed (tabulator-tables#4219, tabulator-tables#4525)
This condition is always true because of the initialize method
…rinking-group-rows

Fix shrinking group rows
(cherry picked from commit c4ac9c5)
Popup._fitToScreen now flips a popup upward when it would overflow the
container bottom, anchoring the menu's bottom to the container when a
flip-up would push it past the top edge. Only falls back to the
full-height + scroll behavior when the menu itself is taller than the
container, which avoids stretching the menu across the viewport for
mid-screen triggers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit c7e1321)
@azmy60 azmy60 force-pushed the fix/menu-overflow branch from c7e1321 to 216d2a7 Compare June 5, 2026 10:43
@azmy60

azmy60 commented Jun 5, 2026

Copy link
Copy Markdown
Author

Replaced by #10

@azmy60 azmy60 closed this Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants