callstack / callstack/react-native-slider
Flicker on Initial Render Android
- Ngôn ngữ chính
- TypeScript
- Star
- 1.4k
- Fork
- 295
- Merge trung bình
- 5 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
## Environment
I am using the example app
```
"@react-native-community/slider": "file:../package",
"babel-preset-expo": "^9.2.0",
"react": "^19.0.0",
"react-native": "^0.79.2",
"react-native-pager-view": "^6.6.0"
```
## Description
On Android, if there is a conditional render, the initial slider value flickers from 0 to the actual value
https://github.com/user-attachments/assets/846fd105-57e0-4d15-889f-0f3ede207473
## Reproducible Demo
https://github.com/cip123/react-native-slider/blob/main/example/src/App.tsx
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the reproducible demo in example/src/App.tsx and run the example app on Android using the versions listed in the issue. Observe the slider during the conditional initial render and trace when its displayed value changes from 0 to the actual value. Done means the initial render no longer visibly flickers while preserving the actual slider value.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, react-native, typescript
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 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