callstack / callstack/react-native-paper
Transparent underline changes label to transparent
- 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
When activeUnderline (or activeOutline) is set to transparent, the label turns transparent as well.
### Expected behaviour
The label should use the theme color.
### Code sample
[Link to snack](https://snack.expo.dev/@p-syche/textinput-transparent-underline) with a repro.
### Your Environment
| software | version
| --------------------- | -------
| ios or android | Android 10
| react-native | 0.66.3
| react-native-paper | 4.10.1
| node | 14.18.1
| npm | 8.1.4
| expo | 43.0.3
| react-native-vector-icons | 9.0.0
### Shoutouts
This issue was discovered by @r6rob and described in a [comment](https://github.com/callstack/react-native-paper/pull/1797#issuecomment-978731341) to the PR introducing custom underline color, by @belgamo .
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the linked Expo Snack to reproduce the issue, then trace the React Native Paper component handling activeUnderline and activeOutline. Verify that setting either prop to transparent leaves the label using the theme color, and confirm the behavior on the reported Android setup.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- 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
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100