How to align text input correctly in react native?
I had the same issue, but the above notes didn't solve it. There's an android-only style property textAlignVertical
that fixes this issue on multiline inputs.
i.e. textAlignVertical: 'top'
I have found the solution that in Android, TextInput style textAlignVertical: 'top'
works. but in ios, TextInput prop multiline={true}
works.