hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
969 stars 294 forks source link

Can't select item in multi choices when search text input is focused and keyboard open #743

Open Mystogan33 opened 4 months ago

Mystogan33 commented 4 months ago

Hello there !

When using the component with the searchable prop, if we type in the text input then trying to select an option, the click is not take into account. The input just loses focus, the keyboard close and option is not selected. I don't know if this is a bug or a possible feature but i would like to be able to select options while still have the focus on the input or at least to have the option selected.

Reproductible on the example if we add the searchable prop.

By the way, if anyone has the solution for this, any help is appreciated :)

Abhishekk63 commented 2 months ago

flatListProps={{ keyboardShouldPersistTaps: "always", }} You can add this prop in DropDownPicker