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

Add ScrollView support

Đang mở
#918 1 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
swift
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reading the existing scroll-related plumbing for scroll position, scroll targets, transactions, and content offsets; the issue does not name specific files or tests. Then trace how existing containers handle viewport layout and content sizing. Done means the public API supports basic vertical and horizontal scrolling, with stable content identity and layout across updates, and examples or tests cover both directions.

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

Mô tả

area: layout area: rendering area: view type: feature

Summary

Add public ScrollView support so OpenSwiftUI can render and interact with scrollable vertical and horizontal content.

Scope

  • Add the public ScrollView container API and common initializers.
  • Integrate with existing scroll-related plumbing such as scroll position, scroll targets, transactions, and content offset behavior.
  • Support basic viewport layout, content sizing, indicators, and user-driven scrolling.
  • Add examples or tests covering simple vertical and horizontal scroll views.

Acceptance criteria

  • A basic ScrollView { ... } renders content larger than the viewport.
  • Vertical and horizontal scrolling work in supported renderers/hosts.
  • Content identity and layout remain stable across updates.
Ngôn ngữ chính
Swift
Star
2.5k
Fork
84
Merge trung bình
2 giờ 8 phút
Pull request đã merge (30 ngày)
62

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.