Page MenuHomePhabricator

[Timebox] Vector 2022 search navigates to the wrong result if you type after selecting an item using arrow keys
Open, Needs TriagePublic3 Estimated Story PointsBUG REPORT

Description

Vector 2022 search navigates to the wrong result if you type after selecting an item using arrow keys.

Steps to reproduce, variant 1:

  1. Visit https://en.wikipedia.org/
  2. Focus the search field, and make sure your mouse cursor is not over the dropdown, so that it doesn't cause accidental selections
  3. Type "list of earth"
  4. Use arrow keys to select "List of earthquakes" from the dropdown (should be the first result)
  5. Type " in 1999"
  6. 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:

  1. Use arrow keys to select "List of earthquakes in 2023"
  2. Change the "2023" to "2022" instead
  3. 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.

Event Timeline

CCiufo-WMF changed the subtype of this task from "Task" to "Bug Report".Jun 30 2023, 10:40 PM
CCiufo-WMF moved this task from Inbox to Needs Refinement on the Design-System-Team board.
CCiufo-WMF renamed this task from Vector 2022 search navigates to the wrong result if you type after selecting an item using arrow keys to [Timebox] Vector 2022 search navigates to the wrong result if you type after selecting an item using arrow keys.Jul 5 2023, 4:57 PM
CCiufo-WMF triaged this task as Low priority.
CCiufo-WMF set the point value for this task to 3.
CCiufo-WMF moved this task from Needs Refinement to Up Next on the Design-System-Team board.
egardner raised the priority of this task from Low to Needs Triage.Oct 2 2023, 6:52 PM
egardner moved this task from Up Next to Backlog on the Design-System-Team board.