react-native-dropdown-picker icon indicating copy to clipboard operation
react-native-dropdown-picker copied to clipboard

Not scrollable list with custom onChangeSearchText and disableLocalSearch true

Open mishkeTz opened this issue 2 years ago • 1 comments

Package version: 5.3.0 RN: 0.63.4

Hello, I'm using disableLocalSearch={true} with onChangeSearchText prop, with loading prop passed correctly (as in this example https://hossein-zare.github.io/react-native-dropdown-picker-website/docs/advanced/search#onchangesearchtext) together with searchable prop set to true.

I have two issues that I noticed:

  1. When I update the list items (onChangeSearchText) I can't scroll the list results anymore, I have to close the dropdown and open it again and after that I can scroll the results list until I start typing again.

  2. When there I close the dropdown after I searched for something and reopen it - I see old results which is fine but the input is empty and I'd expect to see the searched value.

mishkeTz avatar Mar 12 '22 19:03 mishkeTz

Hi,

Can you please create a snack to reproduce the behavior?

hossein-zare avatar Mar 13 '22 12:03 hossein-zare