When testing #534 noticed that location search doesn't work well with slow (2G) connection speeds.
There are issues:
"Haku ei tuottanut tuloksia" is displayed even API query is not completed yet and there are results when it completes
Previous queries to autocomplete API are not cancelled when user writes more text. This causes multiple autocomplete queries running same time and might cause wrong results shown if queries complete in wrong order.
The search could be improved by
Adding loading indicator and removing "Haku ei tuottanut tuloksia" if query is still running
Cancelling previous autocomplete query when new query is started
When testing #534 noticed that location search doesn't work well with slow (2G) connection speeds.
There are issues:
The search could be improved by