In AutoCompleteSuggestionList.tsx, the FlatList style prop is the following.
style={[
styles.flatlist,
flatlist,
{ backgroundColor: white, maxHeight, shadowColor: black },
]}
We'd like to make the backgroundColor customizable.
Motivation
We use a custom AutoCompleteSuggestionItem with a custom background. We'd like to have the same background for the list itself (which is revealed when the list overscrolled in either direction).
Proposed solution
Change the style array item order
style={[
styles.flatlist,
{ backgroundColor: white, maxHeight, shadowColor: black },
flatlist,
]}