I found the TextInput
's content is not centered vertical (in some android devices like HUAWEI), when the TextInput
's parent style is {flexDirection: 'row'}
,
It looks like the baseline is center, and text is more upper.
I finally found the reason,this is because TextInput has default padding, My solution is add paddingTop: 0,paddingBottom: 0,to the TextInput style.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With