-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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] alignText props does not work with multiline TextInput. #2641
Comments
Hi there! Multiline TextInput is likely to be re-written to support auto-scaling based on content size: #1229 |
@f15gdsy @brentvatne Thanks for reporting. I'll look into this problem. |
Thanks @lukasreichart we ❤️ you |
@lukasreichart also "multiline" does not set the cursor correctly if an initial value is provided. You will start typing in front of the provided text. Tested on iOS only. Thanks a lot |
@dnbrwstr does this fix my mentioned issue from above too? (or was it fixed in some other version by now?) |
Summary: Fixes facebook#2641 Closes facebook#5801 Reviewed By: svcscm Differential Revision: D2910644 Pulled By: nicklockwood fb-gh-sync-id: 8f97daac09fd2bd4120344e28c239262dd013f85
Looks like the placeholder text still ignores textAlign when multiline is true. |
Hi,
when I use alignText props with non-multiline TextInput, it works fine.
But when I use it with multiline TextInput, it doesn't work.
Here is the screenshot.
The upper TextInput has multiline set to false, and textAlign set to 'right'.
The lower one doesn't work with textAlign set to 'right' or 'end'.
The text was updated successfully, but these errors were encountered: