Closed rahmanda-wa closed 1 year ago
I think it's the same issue here https://github.com/AdelRedaa97/react-native-select-dropdown/issues/69
it can show all the data in the dropdown with no problem, it just wouldn't show the search result if the data list is too long
I think I have the same problem, I have a long list of Az. If you look up the value directly from a word at the end of the list, no filtering result is generated.
I also think it could be something related to the size of the list.
@rahmanda-wa Did you manage to reverse this behavior?
not really, i'm just stuck with it for now
Hi, i am facing now the same behaviour: i have a long list of data and the search function doesn't find last elements of the list.
How can i resolve it?
@kkkasio @sbozzella @AdelRedaa97 @rahmanda-wa i solve this issue by removing a code from react-native-select-dropdown/src/helpers/deepSearchInArr.js at. line number 34 i remove else part here i attach a screen shot of it
onScrollEndReached
prop is added for pagination in v3.0.0 and also onChangeSearchInputText
to make your custom search function outside the component
And it behave differently across different android device, on some device it able to find the data, but on other device the search only work for a certain length of data list. For instance if i have a list of 150 customer, the search can only find the first 100 customer in the list. Thank you in advance for the help, sorry for my bad english.