Vector 2022 search navigates to the wrong result if you type after selecting an item using arrow keys.
Steps to reproduce, variant 1:
- Visit https://en.wikipedia.org/
- Focus the search field, and make sure your mouse cursor is not over the dropdown, so that it doesn't cause accidental selections
- Type "list of earth"
- Use arrow keys to select "List of earthquakes" from the dropdown (should be the first result)
- Type " in 1999"
- Press Enter
Expected behavior: Navigates to https://en.wikipedia.org/wiki/List_of_earthquakes_in_1999. Actual behavior: Navigates to https://en.wikipedia.org/w/index.php?search=&title=Special:Search (losing your search query).
Steps to reproduce, variant 2:
- Use arrow keys to select "List of earthquakes in 2023"
- Change the "2023" to "2022" instead
- Press Enter
Expected behavior: Navigates to https://en.wikipedia.org/wiki/List_of_earthquakes_in_2022. Actual behavior: Navigates to https://en.wikipedia.org/wiki/List_of_earthquakes_in_2023 (wrong page).
I think the difference between variant 1 and 2 is because in (1), the desired article wasn't in the initial dropdown, while in (2) it was.