How to remove underline in TextInput (Expo – react native)?

I have an underline issue in android where, as I type, the letters get underlined … Read more How to remove underline in TextInput (Expo – react native)?

I have an underline issue in android where, as I type, the letters get underlined as shown. This doesn’t happen in ios. I tried below properties but nothing worked.

underlineColorAndroid='transparent'
autoCorrect='false'

underlineColorAndroid – If this is set to some other color then I have a double underline (in below example I’ve set to green and then transparent).

enter image description here

Here I get green as well as white underline. white underline is only under the letter I type and I want to get rid of this white underline.

enter image description here

enter image description here

Reference : https://reactnative.dev/docs/textinput

Source: React – Stack Overflow


Categories: NewsTags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *