callstack / callstack/react-native-slider
Flicker on Initial Render Android
- Langage dominant
- TypeScript
- Étoiles
- 1.4k
- Forks
- 295
- Merge moyen
- 5 min
- PR mergées (30 j)
- 1
Description
## 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- android, react-native, typescript
- Domaine
- mobile
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100