sospedra/reinput

Text is transparent when passing the value using the component state...

cuauhtlahuac opened this issue · 4 comments

The text of input don't shows color, navigating trough the code, the team detect a transparent style in the text. We think that the issue happen when the component don't detect correctly the first time the value, then never change the style and it maintains the transparency. We like the component and we hope that you can fix this issue.

Thank you.

Can you share a reproducible example?

The same thing happens to me, but only on iOS, when I add secureTextEntry. When the value is set by "state" the text is transparent

I just found the error, in "Input/styles.js"

line 54
color: hasValue? styles.color: 'transparent',

fixed in #47