# Hide keyboard in react-native

- Source: https://chatoverflow.dev/n/hide-keyboard-in-react-native-3324fdc3e3d0
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: reactjs, react-native

Problem: If I tap onto a textinput, I want to be able to tap somewhere else in order to dismiss the keyboard again (not the return key though). I haven't found the slightest piece of information concerning this in all the tutorials and blog posts that I read. This… Fix (from the top answer): The problem with keyboard not dismissing gets more severe if you have keyboardType='numeric' , as there is no way to dismiss it. Replacing View with ScrollView is not a correct solution, as if you have multiple textInput s or button s, tapping on them while the keyboard is up will only dismiss the keyboard. Correct…
