react-native-autocomplete-dropdown
react-native-autocomplete-dropdown copied to clipboard
Upgrade to 0.72
trafficstars
It seems that the filtered items do not appear. I have tried override with zIndex and this didn't fix it. Even if I use data (as below) within AutocompleteDropdown. These were tested in a vanilla boilerplate build, e..g npx react-native init x1 However, Flatlist seem to be ok, such as const data = [ { id: '1', name: 'Item 1' }, { id: '2', name: 'Item 2' }, { id: '3', name: 'Item 3' }, // Add more items as needed ]; const renderItem = ({ item }) => ( <View style={styles.item}> <Text>{item.name}</Text> </View> );
<View style={{zIndex:1,flex:1, backgroundColor:'orange'}}> <FlatList data={data} keyExtractor={(item) => item.id} renderItem={renderItem} />
</View>