React-native-google-places-autocomplete: List view is white and pushes down map

Created on 12 Mar 2019  路  4Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

Please fix the listview white background color and enable this component not to push down other components

Most helpful comment

Try this: styles={{ container: { flex: 0, position: 'absolute', width: '100%', zIndex: 1, }, listView: { backgroundColor: 'white' } }}

All 4 comments

Try this: styles={{ container: { flex: 0, position: 'absolute', width: '100%', zIndex: 1, }, listView: { backgroundColor: 'white' } }}

Try this: styles={{ container: { flex: 0, position: 'absolute', width: '100%', zIndex: 1, }, listView: { backgroundColor: 'white' } }}

You saved my day !! Thank You.

If you still have this issue try to give other components negative zIndex.

Was this page helpful?
0 / 5 - 0 ratings