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

OpenSwiftUI-2048 renders an empty board and an incomplete background

Aperta
#1,192 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, swift
Ambito
frontend, mobile

Direzione di ricerca

Start by reproducing the issue in the OpenSwiftUI-2048 project on branch main, running the 2048 target in an iOS Simulator with OpenSwiftUI-spm 0.24.0. Inspect how the board cells, numbered tiles, and game background are rendered, including the commented-out .drawingGroup(opaque: false, colorMode: .linear) modifier. Done means the 4×4 grid and initial tiles are visible and the background fills the screen.

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

Descrizione

area: rendering impact: visual-diff platform: iOS type: bug

OpenSwiftUI-2048 does not render correctly in the iOS Simulator with OpenSwiftUI 0.24.0.

Steps to reproduce
  1. Clone OpenSwiftUI-2048 at branch main.
  2. Run the 2048 target in an iOS Simulator.
  3. Observe the initial screen.

The project uses OpenSwiftUI-spm 0.24.0. The unsupported .drawingGroup(opaque: false, colorMode: .linear) modifier is commented out.

Expected behavior

The board displays a 4×4 grid and initial numbered tiles. The game background fills the screen.

Image
Actual behavior
  • The “2048” title and board background are visible.
  • Neither the empty grid cells nor numbered tiles are visible.
  • The game background stops above the bottom of the screen, leaving a large white area.
Image
Lingua principale
Swift
Stelle
2.5k
Fork
84
Merge medio
3h 26m
PR unite (30g)
77

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 OpenSwiftUIProject/OpenSwiftUI

Tutte le issue di OpenSwiftUIProject/OpenSwiftUI

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.