callstack / callstack/react-native-paper

TextInput

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

描述

### Current behaviour
when use TextInput with icon and set the backgroundColor black lets say so the background of icon return to the default

### Expected behaviour
it should be all background is black also the icon

### How to reproduce?
the solution is very simple we have a style props in textInput but its never used in props of the component.
just put the style variable in props of textInput so that we can used in the our component

贡献指南

打开贡献指南

调研方向

首先检查 TextInput 组件,以及它的 style prop 是如何传递给渲染出的 input 和 icon 的。使用 icon 和黑色背景重现该情况,然后验证 icon 的背景也会变成黑色。

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

评估

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

把新 issue 发到你的邮箱

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