callstack / callstack/react-native-paper
TextInput mode=outline has floating label truncated
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### Current behaviour
In v5, TextInput with mode="outline" has its floating label truncated. See image:

### Expected behaviour
The full label is displayed, not truncated
### How to reproduce?
See [this Snack](https://snack.expo.dev/uiuAtcKGV6w2_o8iEBZ0i).
If you change the version of RNP to v4, the issue goes away (in the Snack editor, simply modify the version value in `package.json` as per the images below).
### Preview
**RNP v4**:

**RNP v5**:

### Your Environment
See Snack.
贡献指南
调研方向
从链接的 Expo Snack 开始,比较 RNP v4 和 v5 中 TextInput 的 mode="outline" 行为。跟踪 TextInput 使用的 outline 浮动标签渲染,然后验证在复现的 v5 案例中完整标签是否显示。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100