Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mystogan33 opened this issue Feb 15, 2024 · 2 comments

Comments

@Mystogan33
Copy link

Mystogan33 commented Feb 15, 2024

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
Copy link

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

@akilamist
Copy link

@Abhishekk63 yes your solution works mate !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants