Steps to Reproduce:
- Visit https://commons.wikimedia.org/wiki/Special:MediaSearch
- Type in a search term and quickly hit enter
Autocomplete suggestions will pop up after you hit enter
The promise that contains the API call to get autocomplete results should be being aborted on search, which will cancel the process and prevent suggestions from being shown.