-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
textAlignVertical is not working in Input #149
Comments
Hi @mamkkl ! Yes you're right, this should pe fixed. There is a prop for overriding the container's style called |
I can help on this, need a hand :)? |
I found that we can use styles.* for the style overriding but in
|
add array check can make the styles input even nicer |
You could always give us a hand! Write a PR for this issue with detailed explanation because I think this could really level up our library. Thanks! |
@palingheorghe I looked into this issue and realized that what is causing the placeholder to be centered is styles.inputContainer Also I would open a PR to introduce a prop named textInputStyle on Input which allows TextInput styles to be overridden... |
Closed because we've merged the PR into the |
Describe the bug
I want to make a multiple-line text input with placeholder at the top of the input area. However,
textAlignVertical
is not able to use since styles of theTextInput
can't be overrideTo Reproduce
<Input multiline style={{textAlignVertical:'top', height: 200}} />
Expected behavior
The placeholder displays at the top of the input area
Current behavior
Additional context
I can fix the issue by adding a new
overrideInputStyles
property ofInput
, however, it seems the framework is not expecting to override the style of theTextInput
.The text was updated successfully, but these errors were encountered: