Skip to content

fix: keep host controls in view with a full room - #10

Merged
gajjug004 merged 5 commits into
developfrom
fix/host-large-lobby-controls
Aug 22, 2026
Merged

fix: keep host controls in view with a full room#10
gajjug004 merged 5 commits into
developfrom
fix/host-large-lobby-controls

Conversation

@gajjug004

Copy link
Copy Markdown
Collaborator

Problem

With a large room (500+ players), the lobby chip grid and the final-results leaderboard grew with the player count and pushed Start game and New game below the fold of the projector. The host had to scroll to run the game.

Solution

Both lists now scroll inside the space left over instead of growing the page, so the control row stays put at any player count. A bottom fade makes the cut-off row read as more content rather than a clip.

Verified with 500 players at 1920x1080, 1366x768 and 390x844. The per-question results screen needed nothing: the server already caps top_5 at 5 and streaks at 3.

The lobby chip grid and the podium leaderboard grew with the player count,
so at 500+ players the Start game and New game buttons landed below the fold
of a projector. Both lists now scroll inside the space left over, with a
bottom fade so the cut-off row reads as more content rather than a clip.
Past the top 25 the list is names nobody reads off a projector, and the
scroll to reach the bottom of 500 rows is longer than the moment lasts.
Making the chip grid a flex-1 scroller left slack under the rows in a small
lobby, and align-content: stretch grew every wrapped line to fill it, so the
rounded-full chips rendered as blobs.
flex-1 gave both scrollers more height than their content in a small room,
which stretched the chip rows and stranded them below the player count. They
now shrink out of the leftover space only when the list overflows.

Drops the bottom fade with it: the mask ran whether or not the list scrolled,
so it dimmed the last row of a lobby that fit on screen.
Reuses no-scrollbar from the avatar strip. A cut-off row already says the
list runs on, and a bar down the side of a projected game is noise.
@gajjug004
gajjug004 merged commit b92b9fc into develop Aug 22, 2026
2 checks passed
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.

1 participant