callstack / callstack/react-native-slider

Flicker on Initial Render Android

未关闭
#733 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug report
主要语言
TypeScript
星标
1.4k
派生
295
平均合并
5 分钟
30 天内合并 PR
1

描述

## 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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
android, react-native, typescript
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。