Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not take any action on onPress inside Flatlist #535

Closed
NeelakshSharma opened this issue Apr 19, 2020 · 10 comments
Closed

Does not take any action on onPress inside Flatlist #535

NeelakshSharma opened this issue Apr 19, 2020 · 10 comments

Comments

@NeelakshSharma
Copy link

I am generating Google places textfields inside flatlist dynamically. But this stops the onPress function to work(after selecting any place from suggestions does not give any feedback).

@anoopnockson
Copy link

for me when placing it on normal view not scroll view working. but extra space showing..

@NeelakshSharma
Copy link
Author

How can I use it inside Scroll List or Flat List?

@ferranuap
Copy link

Any workaround for this?

@NeelakshSharma
Copy link
Author

Yea, I just put the textfields instead of google autocomplete textfield. When the user taps on any of them. it redirects to another screen which has the Google autocomplete textfield. When th user inputs a place, it redirects back to the multple textfield screen. It's completely a workaround but not a solution to it.

@ferranuap
Copy link

Yea, I just put the textfields instead of google autocomplete textfield. When the user taps on any of them. it redirects to another screen which has the Google autocomplete textfield. When th user inputs a place, it redirects back to the multple textfield screen. It's completely a workaround but not a solution to it.

I ended up doing the same. I've removed the popup i had and created a new screen. Thanks for answering :)

@nikitph
Copy link

nikitph commented May 8, 2020

this should not be closed. this is a problem for me too

@bell-steven
Copy link
Collaborator

@nikitph I can re-open this if you have some reproducible code to show what the issue is.

@nikitph
Copy link

nikitph commented May 8, 2020 via email

@klokie
Copy link

klokie commented Sep 23, 2020

thanks @nikitph - that led me to #486 (comment)

@Imtayaz
Copy link

Imtayaz commented Mar 9, 2022

I guess you need this library as well
npm install react-native-virtualized-view --save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants