callstack / callstack/react-native-paper
ActivityIndicator strange behavior on devices with android 8.1.0
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the linked Snack and reproduce the ActivityIndicator behavior on Android 8.1.0, then compare it with a recent device using react-native-paper 4.9.2 and 5.13.1. Trace the ActivityIndicator entry point and verify that its rendered behavior matches the expected result shown in the issue.
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
- 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
- 38/100