callstack / callstack/react-native-paper
Transparent underline changes label to transparent
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### 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 .
贡献指南
调研方向
从链接的 Expo Snack 开始重现问题,然后追踪 React Native Paper 组件对 activeUnderline 和 activeOutline 的处理。验证将任一 prop 设置为 transparent 后 label 仍使用主题颜色,并确认在所报告的 Android 配置上的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100