How to Remove Unwanted Underline While Typing inside TextInput in React Native

If you regularly use TextInput component in your app then you might have noticed this issue- an underline appears while you type through TextInput. You can see the mentioned case in the following gif.

react native textinput underline

So, how to remove this underline from react native TextInput? You can do that by adding two props namely autoCapitalize and spellCheck as given below:

spellCheck={false}
autoCorrect={false}

That’s it. The underline will disappear from TextInput.

1 thought on “How to Remove Unwanted Underline While Typing inside TextInput in React Native”

Leave a Reply

%d bloggers like this: