React-native-google-places-autocomplete: Autocomplete Suggestions don't work with single tap

Created on 9 Nov 2017  路  5Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

The autocomplete is working well, other than the fact that you have to double tap the search suggestions in order to interact with them. Is there a way to use a suggestion by just tapping once on them??

Most helpful comment

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!

All 5 comments

+1

Duplicate of #223

+1

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!

the same problem here, + 1, I don't know what I need to do, for a single tap works to select an item of the list. I try with keyboardShouldPersistTaps={"always"} and nothing !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

macs03 picture macs03  路  3Comments

yashwanth15 picture yashwanth15  路  3Comments

diegothucao picture diegothucao  路  3Comments

KhalilKhalaf picture KhalilKhalaf  路  4Comments

quandevelopment picture quandevelopment  路  4Comments