callstack / callstack/react-native-paper

Label is not aligned center vertically while increase the height

未关闭
#4,778 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

When set a height for a TextInput in outlined mode, the label is not vertically centered. If you apply paddingVertical, the label overlaps the outline.

Image

Image

贡献指南

打开贡献指南

调研方向

使用截图作为预期的视觉参考,复现高度和 paddingVertical 增加后的 outlined TextInput。首先定位 outlined TextInput 的实现以及其标签布局逻辑;当输入框高度变化时,标签垂直居中且不与轮廓重叠,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
frontend, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。