callstack / callstack/react-native-paper
`TextInput`: setting `activeUnderlineColor` to `"transparent"` makes the `TextInput` unable to receive touch events
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### Current behaviour
Touch events are not registered.
I believe this is related to the New Architecture, per [this issue filed on React Native](https://github.com/facebook/react-native/issues/50465). However, the resolution to this issue was that this is expected behavior, so this is still a bug here.
### Expected behaviour
Touch events should register.
### How to reproduce?
Create a `TextInput` and set the `activeUnderlineColor` to `"transparent"`. (Even a very light gray seems to trigger the issue.)
### Preview
### What have you tried so far?
### Your Environment
| software | version
| --------------------- | -------
| ios | 18
| android | 16
| react-native | 0.79.3
| react-native-paper | 5.14.5
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | x.x.x
贡献指南
调研方向
首先,在列出的 iOS 和 Android 版本上,使用 activeUnderlineColor="transparent" 的 React Native Paper TextInput 重现该问题。跟踪 TextInput 的入口点,并比较设置和不设置该颜色时的触摸处理;当触摸事件能够正常注册且下划线保持透明时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, ios, react-native, typescript
- 领域
- frontend, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100