Sticky views have visual glitches while scrolling in ScrollView
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C++
- Star
- 127k
- Fork
- 25.3k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
Description
The views that specified as "sticky" in ScrollView have visual glitches while scrolling programmatically.
Steps to reproduce
- Install the Snack on a physical device
- Press the "Scroll to 1000" button
- Press the "Scroll to 5000" button
React Native Version
0.74.3
Affected Platforms
Runtime - Android, Build - Linux
Output of npx react-native info
System:
OS: Linux 5.15 Arch Linux
CPU: (8) x64 Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz
Memory: 5.20 GB / 7.71 GB
Shell:
version: 5.2.26
path: /usr/bin/bash
Binaries:
Node:
version: 20.15.1
path: ~/.nvm/versions/node/v20.15.1/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.15.1/bin/yarn
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v20.15.1/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.3
wanted: 0.74.3
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
None
Reproducer
https://snack.expo.dev/@michail_shcherbakov/sticky-view-glitches
Screenshots and Videos
https://github.com/user-attachments/assets/9b93783e-4d85-4000-bcec-87870cfd1446
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.
Hướng nghiên cứu
Bắt đầu với trình reproducer Snack được liên kết và phần triển khai React Native ScrollView, tập trung vào các sticky views trong khi cuộn bằng chương trình trên Android. Tái hiện hai thao tác cuộn trên một thiết bị vật lý; hoàn tất khi các sticky views vẫn ổn định về mặt hiển thị khi cuộn đến 1000 rồi đến 5000.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100