Skip to content

Not scrollable list with custom onChangeSearchText and disableLocalSearch true #518

@mishkeTz

Description

@mishkeTz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions