New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextInput doesn't work with placeholderTextColor and conflict to transparent #1011
Comments
See #997 - try pulling down that diff to see if it fixes your problem |
@brentvatne Yes, it works well. Whether transparent or solid background. thanks |
When experimenting with an earlier version of react-native I made an implementation of placeholder that was different than this, but find it useful. Basically If anyone is interested in this, happy to make a PR. |
cc @vjeux ^ |
A more React Native-like api would be <TextInput placeholderText="abc..." placeholderStyle={{ color: 'red' }} /> Where placeholderStyle overrides style attributes |
Input
's style of backgroundColor totransparent
, the Placeholder words is gone.The text was updated successfully, but these errors were encountered: