fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
224 stars 364 forks source link

fixed : Searching for a location in Autocomplete search bar and selecting it , makes the floating card shows loading indicator infinitely - IOS Specific #76

Open abdullah-khudher opened 3 years ago

abdullah-khudher commented 3 years ago

we have a problem in the IOS platform ... which is

The Floating card shows the loading indicator infinitely when I search for a location in the search bar and selecting it. I could see that the SearchingState is not set to Idle after a location is found. But the floating card works perfectly when the pin is moved and the selected location is shown correctly

related issue https://github.com/fysoul17/google_maps_place_picker/issues/68

martin-braun commented 3 years ago

This will cause some weird behavior when moving the pin. It will show the old address until the new one is load, so this is not really a fix. However, the key is to set it the SearchingState to Idle after completing the search through the AutoCompleteSearch, my PR #147 addresses this. Your changes are not required. You must not alter the check that you did, or the weird bug with the old address showing up will appear.

martin-braun commented 2 years ago

@fysoul17 This should be closed, it's deprecated and not necessary anymore. Thanks.