Linked Questions

16 questions linked to/from Hide keyboard in react-native
32 votes
4 answers
21k views

Is there a simple way to hide the iOS keyboard? I want to force it shut in a few specific scenarios that don't necessarily require focusing another view. i.e. like a specific response from the server.
zafrani's user avatar
  • 4,141
2 votes
0 answers
77 views

Is there anyway to hide keyboard immediately, like set index -1 or whatever? Currently, after keyboard.dismiss, you need to wait for a bit time to fully hide keyboard. Thanks.
Michael's user avatar
  • 41
71 votes
11 answers
141k views

I'm building an Android app with React Native. How can you force a TextInput to "unFocus", meaning the cursor is blinking inside the text field. There are functions for isFocused() and onFocus(), ...
14 votes
10 answers
48k views

I created a screen keyboard component that I want to disable the platform's keyboard, how I can disable it? <TextInput secureTextEntry ref="Pin" selectionColor="#656565" ...
Vaqif's user avatar
  • 665
8 votes
2 answers
17k views

I have <TextInput/> and I would like to get to blur it and toggle the keyboard when tapping outside the <TextInput/> I have tried this solution but without any luck. import React, { ...
6 votes
3 answers
5k views

This is question regarding Native Base framework for React Native applications: Imagine a subscribe screen; 1 text input and a subscribe button; After I type my email address I want to tap on ...
11 votes
1 answer
12k views

I have already researched about it and found this post: react-native: hide keyboard But this didn't work for me. When I touch the portion of the screen thats outside the text input field, I was ...
1 vote
1 answer
8k views

Before wrote this post, I saw this post, but i'm not able to link all of the code to mine. This is my toggle component: <ToggleContent toggle={show => ( <div> ...
1 vote
1 answer
3k views

I have a TextInput component, and i want to make text visible when keyboard is on, by default, android will have this, but i don't know why the multiline TextInput just scroll down to the bottom of ...
1 vote
3 answers
893 views

I just followed the answer from the link react-native: hide keyboard But the keyboard is coming as flash for fraction of seconds then it is dismissing. Is there is a way to avoid keyboard totally.
-1 votes
3 answers
2k views

I have a code like this: <View> <View></View> <ScrollView> <View> <TextInput/> </View> </ScrollView> <View></View> &...
2 votes
1 answer
714 views

I have the following simplified React Native code: <ScreenContainer> <View> <TextInput value={query} onChangeText={handleInputChange} autoFocus={true} ...
1 vote
2 answers
877 views

I am facing the problem that there seems to be no api for me to close system keyboard. In my code, the component render method looks like this: <TouchableOpacity onPress={()=>{alert("1111")}}&...
0 votes
0 answers
748 views

I have a react native TextInput with numeric keyboard, and it is working fine, except that the keyboard shows up again after the submit button has been clicked and it navigates to the next page (...
Peconia's user avatar
  • 565
-1 votes
1 answer
349 views

I'm currently trying to close the keyboard programmatically: https://i.sstatic.net/GfY7K.jpg But it does not work. It actually closes, then reopens when the screen changes, whereas there is no input ...

15 30 50 per page
1
2