fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
222 stars 357 forks source link

Autocomplete list overlap input text field #98

Closed wekex35 closed 2 years ago

wekex35 commented 3 years ago

Screenshot_2021-01-19-17-47-00-614_com alitersolutions suraksha

Schierke commented 3 years ago

Same issue for me, if goole_maps_place_picker is inside a PageView, autocomplete overlaps:

image

wekex35 commented 3 years ago

Hello, Mates any update on it?

bhavin-concetto commented 3 years ago

@wekex35 and @Schierke The suggestion is the "overlay" widget that needs custom top (i.e. 56 or 72). For that, library calculating using RenderBox and appBarKey. You can confirm here

SakhileMamba commented 2 years ago

@wekex35 and @Schierke The suggestion is the "overlay" widget that needs custom top (i.e. 56 or 72). For that, library calculating using RenderBox and appBarKey. You can confirm here

This solution worked for me. look for the autocomplete.dart file, find the _displayOverlay function, and change the top parameter of the Positioned widget. I change mine to 80 and it works better now.