User should be able to set where a scrollview rests when scrolling to next step
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
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile
Hướng nghiên cứu
Bắt đầu trong src/contexts/CopilotProvider.tsx tại lệnh gọi scrollTo được tham chiếu trong issue, sau đó lần theo cách step props được định nghĩa và truyền vào step component. Thêm một giá trị cho mỗi step để điều khiển các tham số của scrollTo, đồng thời cập nhật tài liệu để người dùng có thể cấu hình vị trí target dừng lại khi chuyển sang step tiếp theo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
Scrollview doesn't currently allow the user to dictate where on the screen an element within a scrollview should display. It defaults to the middle of the screen
Describe the solution you'd like
A prop that can be passed to the step component that determines the scrollTo function params for the given step.
A simple solve could be allowing the user to pass in this offset value per-step.
Describe alternatives you've considered
- Interacting with the scrollRef before calling
handleNextso that it's scrolled into location without any library changes. This doesn't work as the scrollview is reset by the library. - The library doesn't manipulate the scrollview outside of finding nodes / steps, so the user could manually call scroll functions before
handleNext.
Teachability, Documentation, Adoption, Migration Strategy
Happy to raise a PR with some documentation + implementation if it's of use.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.4k
- Fork
- 425
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mohebifar/react-native-copilot
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
mohebifar/react-native-copilot#354 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
mohebifar/react-native-copilot#351 · 1 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
mohebifar/react-native-copilot#349 · 11 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
mohebifar/react-native-copilot#348 · 2 bình luận ·
Tất cả issue của mohebifar/react-native-copilot
Issue tương tự
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ag-ui-protocol/ag-ui#3504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6151 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#161712 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rothgar/rabble.radio#283 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nightly-labs/openbot#19805 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày