callstack / callstack/react-native-slider
Flicker on Initial Render Android
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.4k
- Forks
- 295
- Merge medio
- 5 min
- PR fusionados (30 d)
- 1
Descripción
## 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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, react-native, typescript
- Área
- mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100