react-native-dropdown-autocomplete
react-native-dropdown-autocomplete copied to clipboard
Basic version not rendering as expected
When I installed the library and used the following code, it renders very tall, fills my whole app height and although the spinner appears no results show.
Do you need to have specific styling set in order to get this to work? Thanks
<Autocomplete
data={cities}
handleSelectItem={(item, id) => handleSelectItem(item, id)}
valueExtractor={item => item.city}
style={{maxHeight: 40}}
/>

Which component are you using as parent?
Which component are you using as parent?
Just a view with `flex:1, alignItems: 'center'