Describe the bug
If you supply a custom style to the TextInput, the color of the TextInput text placeholder changes to match the non placeholder color. This is very strange, and does not occur when supplying a style prop to a normal TextInput.
To Reproduce
Steps to reproduce the behavior:
Do this
Here, placeholderTextColor does nothing at all, even though it is a valid prop for a TextInput.
Expected behavior
Placeholder text color should remain the same even when supplying a style prop to the TextInput. Even if that did not work, supplying the additional placeholderTextColor should at least allow me to override the placeholder text color and get the effect I want.
Note that the color of the placeholder is not the light grey normal color, but instead the default textinput regular text color. If you remove the line textInputProps={{style: {}}} from the code, the placeholder text will return to the default color like it should be to begin with.
Describe the bug
If you supply a custom style to the
TextInput
, the color of theTextInput
text placeholder changes to match the non placeholder color. This is very strange, and does not occur when supplying a style prop to a normalTextInput
.To Reproduce
Steps to reproduce the behavior: Do this
Indeed, even if we supply a
placeholderTextColor
totextInputProps
, we get the same error.Here,
placeholderTextColor
does nothing at all, even though it is a valid prop for aTextInput
.Expected behavior
Placeholder text color should remain the same even when supplying a style prop to the
TextInput
. Even if that did not work, supplying the additionalplaceholderTextColor
should at least allow me to override the placeholder text color and get the effect I want.Screenshots
Additional details
Reproduction and/or code sample
https://snack.expo.io/@iway1/bad-stroopwafels
Note that the color of the placeholder is not the light grey normal color, but instead the default textinput regular text color. If you remove the line
textInputProps={{style: {}}}
from the code, the placeholder text will return to the default color like it should be to begin with.