[Question / Feature Request] keyboardShouldPersistTaps to prevent need for double tapping
See original GitHub issueI’ve implemented this like your example but the main issue I am having is that it takes two taps to select the list item. The first tap dismisses the keyboard and then the second will select the row- which should happen on the first tap.
This sounds similar to this so I’m wondering if you could provide some insight on if it’s from the same issue, if everyone on this library is affected, and if it can be fixed. I tried adding the prop keyboardShouldPersistTaps={true}
but it had no effect.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:12
Top Results From Across the Web
Double Tap Button issue when keyBoard opens React native
I have tried with keyboardShouldPersistTaps=handled also but still, I have to tap twice on my Custom Button to perform an action.
Read more >keyboardavoidingview modal | The search engine you control.
Need to double press to release focus on Text Input from within a Modal with KeyboardAvoidingView. Asked Jul 2, 2019 • 1 votes...
Read more >Today's React Native Tip: Keyboard issues in ScrollView
Problem 1: Button needs to be tapped twice. When the keyboard is up, tapping anywhere else on the page will require you to...
Read more >Fullstack React Native
React Native is rich and feature-filled, but that also means it can be ... requests to fetch data that the component would need....
Read more >React-native-gifted-chat: The Most Complete Chat UI for React ...
The messages prop should work out-of-the-box with Redux. In most cases, this is all you need. If you decide to specify a text...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to get persistent taps working. I have the auto complete component as a child of
ScrollView
I believe
keyboardShouldPersistTaps={true}
is deprecated. Hope this helps!Make sure that any parent ScrollViews (or FlatList, etc.) of your GooglePlacesAutocomplete component have the prop keyboardShouldPersistTaps={‘always’}set. This resolved the problem for me. Good luck!