callstack / callstack/react-native-paper
iOS app open/close transition shows shadow on SegmentedButtons
- 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
I am rendering a Segmented Button (basic, vanilla implementation)
When I open or close the iOS app, I see a gradient within one of the segments.
### Expected behaviour
No gradient.
### How to reproduce?
Use iOS
Add a segmented button to your view.
Close or open the iOS app to show the gradient.
### Preview
Implementation:
``
Screenshot:

### What have you tried so far?
Explicitly setting a background color with
`style={[styles.group, { backgroundColor: theme.colors.background }]}`
### Your Environment
| software | version
| --------------------- | -------
| ios | 16.0
| react-native | 0.76.3
| react-native-paper | ^5.12.5
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với phần triển khai SegmentedButtons và tái hiện hiệu ứng chuyển tiếp trên iOS 16.0 bằng ví dụ vanilla segmented-button từ issue. Hoàn thành khi việc mở hoặc đóng ứng dụng không còn hiển thị gradient hoặc bóng đổ bên trong một segment.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ios, react-native, typescript
- Lĩnh vực
- frontend, 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