callstack / callstack/react-native-paper
[Android Only] Blurred TextInput's label is not aligned to top if textAlignTop='top' is set
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### Current behaviour
The blurred TextInput's label is centered to the TextInput if height is set to eg. 200 and `textAlignTop` is set to `top`.
### Expected behaviour
The label should be aligned to the top of the TextInput
### How to reproduce?
``
### What have you tried so far?
I've tried using `contentStyle` props.
### Your Environment
| software | version
| --------------------- | -------
| ios | x
| android | 13
| react-native | 0.82.1
| react-native-paper | 5.14.5
| node | 22.11.0
| npm or yarn | x.x.x
| expo sdk | x.x.x
贡献指南
调研方向
从 React Native Paper TextInput 的实现开始,在 Android 上以 200px 的高度并将 textAlignTop 设置为 top,复现提供的多行示例。在这些条件下,模糊的“Name”标签与 TextInput 顶部对齐后,修复即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 半天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100