-
-
Notifications
You must be signed in to change notification settings - Fork 854
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
Not working with KeyboardAwareScrollView #486
Comments
did you find any solution ? |
yes because of this module is using scroll view into flatlist. |
How did you create it? |
I was able to resolve this issue by ensuring that i had no other ScrollView's or FlatList's within the KeyboardAwareScrollView. Now all is working as expected. |
still encountering this issue |
@igibliss00 Have you tried to add keyboardShouldPersistTaps in all ancestor ScrollView?
|
this works in my case |
Closing, as this is now documented in the readme. Thanks @FabrizioCaldarelli! |
I still see the warning when I click the suggested places, and I have added |
It's still not working on android. I too have added |
For me it works on Android with |
customized GooglePlaceAutoComplete.js replace touchable highlight with TouchableOpacity and works fine for me |
Thanks, @FabrizioCaldarelli. I have wasted so many hours on this to find out the problem. |
guys i tried every thing in written in these comments none of them is working, im still not able to click suggestion |
it doesnt work |
@bell-steven |
Para mim funionou adiionar a propriedade |
Same issue. Temporarily disable it by adding in Autocomplete reusable component:
|
I have tried every option available here and it's not working for me. |
Sir you have to also add keyboardShouldPersistTaps in all direct scrollview parent and non direct scrollview parents also in the other files if exist. |
I just did and everything is still the same. Still showing the VisualizedList error |
SAME. Not works for me. huhuhu |
@FabrizioCaldarelli Thanks man, It saved my day 👍🏼 |
I have tried setting keyboardShouldPersistTaps={'handled'} for the ancestor KeyboardAwareScrollView's but it's unfortunately still not working for me. Has anyone been able to figure it out? |
My problem was fixed but I can't remember what fixed it anymore. If you have nested |
Lmao came back but my own solution doesn't even work for me anymore XD @bell-steven any other suggestions or workarounds? |
I tried suggested solutions, but It doesn't work. Any workaround? |
<ScrollView keyboardShouldPersistTaps={'handled'}>
|
<ScrollView keyboardShouldPersistTaps="handled" contentContainerStyle={{ flexGrow: 1 }}> |
My issue resolve after Place Sim Card in Testing Device |
I have the same problem, can someone help me? inside a modalize does not work |
For anyone who is having problems with this, I disabled the scroll inside GooglePlacesAutocomplete As per this issue (which does a good job explaining the reason) facebook/react-native#31697 When you do that, the ScrollView can do its job. Hope this helps anyone having issues with this in 2023! |
@zainsolat God bless you man!
This is working for me |
Adding keyboardShouldPersistTaps and disableScroll doesn't work in my case |
@zainsolat Thanks, man. you saved my day! |
@zainsolat Thank you so much, your solution really helped 🤗 |
@zainsolat thank you thank you! |
I can't solve this issue, onPress not works! |
I'm currently using
KeyboardAwareScrollView
withreact-native-google-places-autocomplete
and only when the auto-complete component is withinKeyboardAwareScrollView
, the drop-down suggested addresses from Google does not respond to presses. When the aut0-complete component is withoutKeyboardAwareScrollView
, the component works as expected.The expected behavior is that when the suggested addresses are clicked, the clicked addresses can be used in the
onPress
property ofreact-native-google-places-autocomplete
, but when the component is placed withinKeyboardAwareScrollView
, the suggested list disappears as soon as the list is clicked, and no addresses are selected or retrieved.I placed
react-native-google-places-autocomplete
withinFormik
:Standard
GooglePlacesAutocomple
from the repository:The text was updated successfully, but these errors were encountered: