Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fixate FFA hero slot height in GameModeSelector to prevent layout shift

Aperta
#6,163 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@LoSt543215543 ci sta già lavorando.

Dal 26/10/2026.

  • #6164 di @LoSt543215543 — aperta

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
frontend, game-dev

Direzione di ricerca

Find GameModeSelector and inspect how the FFA hero slot is mounted when ffa is undefined. Keep the slot mounted at a fixed height and show the spawning spinner while no FFA game is advertised; verify the upcoming games column no longer shifts. Pull request #6164 is already open for this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

not-approved
Description

In GameModeSelector, the FFA hero slot is conditionally unmounted when ffa === undefined (const heroSlot = this.lobbies === null || ffa !== undefined;). When an active FFA lobby starts and is removed from the public lobby feed, the hero slot vanishes, causing the upcoming games column (<section>) to stretch across both columns or shift on mobile. When the replacement FFA game appears, the slot remounts and the menu layout shifts back.

In contrast, the upcoming games column for Teams and Special/Custom lobbies already maintains a fixated height via grid row spans.

Expected Behavior

The FFA hero slot should remain mounted with a fixed height (displaying the spawning spinner when no FFA game is currently advertised), preventing layout jumps when new FFA games appear.

Lingua principale
TypeScript
Stelle
2.7k
Fork
1.4k
Merge medio
1g 21h
PR unite (30g)
293

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openfrontio/OpenFrontIO

Tutte le issue di openfrontio/OpenFrontIO

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.