-
Notifications
You must be signed in to change notification settings - Fork 256
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
Is it possible to show the results list in a ScrollView? #57
Comments
I've tried setting the suggestion list's height to the remaining space on top of keyboard. It helped reduce the list size and I also could see a scroll indicator inside, but not able to scroll. Thanks! |
yes im interestiong too |
I've figured it out, in case it helps someone... First set a To fix it you need to do the following: Add the following code as a prop to the parent View which wraps the ScrollView
Add Add the following prop to the Autocomplete
This works very well on IOS and Android both, scrolls the ListView if the touch is on List and else it scrolls the ScrollView. |
@naomipol , Your |
@naomipol When click on the TextInput for typing I face this issue:
That's because the resulsList of autoComplete is null. but it only gets the scroll for the first time, after first scroll I can not have the scroll on the resultList and it scroll the parent scrollView. Do you have any Idea about this? |
@cfkenandy Can you please share your code as you mention that you do not have to Regards, |
@naomipol , Your maxHeight solution worked great on iOS but the list is still not scrollable on Android, do you have any idea about the reason ? Thanks ! |
How to put item name on input box and suggestion box hide ? |
What's the solution for this problem now with resultList is an instance of FlatList which does not have scrollProperties? |
Yeah, just need to add |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Thanks for this awesome component!
If I type something in the suggestion box and there a lot of results, the keyboard covers up the results. Is there a way to render the results list in a ScrollView or something like it? We would like to be able to scroll through the list and not have to type until the result renders above the keyboard without it covering it? Can I use onStartShouldSetResponder? I'm not sure how to use it.
The text was updated successfully, but these errors were encountered: