callstack / callstack/react-native-paper

ActivityIndicator strange behavior on devices with android 8.1.0

未关闭
#4,670 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
ActivityIndicator bug
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

### Current behaviour

As you can see from the video, ActivityIndicator has a strange behavior on old devices.
I tried both version `4.9.2` that is used on expo code example and version `5.13.1,` on a personal project.
But I get the same result.
This problem does not happen with recent devices.

https://github.com/user-attachments/assets/7cb963c1-d6c5-4c07-b1f6-78002020aef0

### Expected behaviour

https://github.com/user-attachments/assets/fa6bc642-d915-49c8-ab21-c8be58855bf7

### How to reproduce?

https://snack.expo.dev/HWOolN3Q69d6G3WbHHuOK

```js
import { Text, SafeAreaView, StyleSheet } from 'react-native';

import { ActivityIndicator } from 'react-native-paper';

export default function App() {
return (




);
}

const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
backgroundColor: '#000',
padding: 8,
},
});
```

### What have you tried so far?

### Your Environment

| software | version
| --------------------- | -------
| android | 8.1.0
| react-native | 0.78.2
| react-native-paper | 4.9.2 or 5.13.1

贡献指南

打开贡献指南

调研方向

从链接的 Snack 开始,在 Android 8.1.0 上复现 ActivityIndicator 的行为,然后将其与使用 react-native-paper 4.9.2 和 5.13.1 的较新设备进行比较。跟踪 ActivityIndicator 的入口点,并验证其渲染行为是否与 issue 中显示的预期结果一致。

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

评估

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

把新 issue 发到你的邮箱

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