react-native-autocomplete-dropdown
react-native-autocomplete-dropdown copied to clipboard
When closeOnBlur is set to true, and an attempt to scroll between suggestions is made, it closes.
When closeOnBlur is set to true, and an attempt to scroll between suggestions is made, it closes.

Hi! Yes, if you need scroll, you should set it to false and handle close by yourself
Do you have an example of how that could be handled? I'm looking for a way to check if the user is clicking outside of the "AutocompleteDropdown" component, including the dropdown.
Anyone know how to handle if user click outside of autocomplete dropdown close the suggestion list Please help
Any update on this?
any update please
Yes , basically I needed two drop-down , so I handled Each other with their reference . Means when we click first drop-down then it will close second one and vice-versa .
Yes , basically I needed two drop-down , so I handled Each other with their reference . Means when we click first drop-down then it will close second one and vice-versa .
Okay and I want to close when user click outside in the screen
Use
Yes , basically I needed two drop-down , so I handled Each other with their reference . Means when we click first drop-down then it will close second one and vice-versa .
Okay and I want to close when user click outside in the screen
Use TouchbleOpacityWithoutfeeeback for main container for your screen
loving the library, but wish this was supported out-of-the-box. not sure the best solution.
For those who are having a problem, still use this fork because in it I solved this problem
git+https://github.com/wesley44354/react-native-autocomplete-dropdown.git
**wesley44354 ** c
did you remove it>?
Use
Yes , basically I needed two drop-down , so I handled Each other with their reference . Means when we click first drop-down then it will close second one and vice-versa .
Okay and I want to close when user click outside in the screen
Use TouchbleOpacityWithoutfeeeback for main container for your screen we cannot do it with multiple dropdown
You can refer to the following method -> Add props:
closeOnBlur={true}
flatListProps={{
keyboardDismissMode: undefined,
onScrollBeginDrag: undefined,
}}
worked for me
closeOnBlur={true} flatListProps={{ keyboardDismissMode: undefined, onScrollBeginDrag: undefined, }}
This working for android but ios Not working