Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

OpenSwiftUI-2048 renders an empty board and an incomplete background

Đang mở
#1,192 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, swift
Lĩnh vực
frontend, mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Swift
Star
2.5k
Fork
84
Merge trung bình
3 giờ 26 phút
Pull request đã merge (30 ngày)
77

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenSwiftUIProject/OpenSwiftUI

Tất cả issue của OpenSwiftUIProject/OpenSwiftUI

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.