I installed the latest react-native-dropdown-autocomplete package and used the component as documented. When trying to select an item in the dropdown, the onBlur on the TextInput component gets called before the onPress on the Button component on Android. This closes the dropdown without selecting any value.
If I disable the this.dropdown.current.close(); in the handleBlur the items gets selected correctly but of course navigating out of the TextInput component without selecting a value will not close the dropdown.
I installed the latest react-native-dropdown-autocomplete package and used the component as documented. When trying to select an item in the dropdown, the onBlur on the TextInput component gets called before the onPress on the Button component on Android. This closes the dropdown without selecting any value.
If I disable the
this.dropdown.current.close();
in the handleBlur the items gets selected correctly but of course navigating out of the TextInput component without selecting a value will not close the dropdown.