react-native-dropdown-picker
react-native-dropdown-picker copied to clipboard
Ignore Keyboard when selecting item in listMode="MODAL"
Hi there.
I use a dropdown-picker to select a city in a list. For this I use the listMode="MODAL" with a search input. When I click to select a city the keyboard close first. So I have to click a second time to select a city and close the modal. So I'd like to skip the keyboard close action then I don't have to double click when selecting a city. In the same idea of keyboardShouldPersistTaps in ScrollView.
Someone has an idea for this ?
Hi! the solution is to add this prop flatListProps={{ keyboardShouldPersistTaps: "always" }} https://github.com/hossein-zare/react-native-dropdown-picker/issues/235#issuecomment-859924303