React-native-google-places-autocomplete: onPress function is not working while i also used keyboardShouldPersistTaps="always" in ScrollView

Created on 23 Feb 2021  路  4Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

bug

Most helpful comment

i got my issue..
i was using GoogleplacesAutoComplete in an flatlist component and to resolved issue i just add keyboardShouldPersistTaps="always" in flatlist
thank you

All 4 comments

i got my issue..
i was using GoogleplacesAutoComplete in an flatlist component and to resolved issue i just add keyboardShouldPersistTaps="always" in flatlist
thank you

Thank you for posting this, this was my issue with putting this component inside a ScrollView component

setting <FlatList keyboardShouldPersistTaps="always"/> works for me too this must be documented

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frankfaustino picture frankfaustino  路  4Comments

yasirdev picture yasirdev  路  3Comments

macs03 picture macs03  路  3Comments

akhlopyk picture akhlopyk  路  3Comments

yashwanth15 picture yashwanth15  路  3Comments