Page MenuHomePhabricator

TypeaheadSearch: Hover unexpectedly selects menu option
Closed, ResolvedPublic

Description

Description

The interaction flow described below seems unexpected to me. The purpose of this task is to clarify whether or not it is expected, and then discuss whether or not we want to change it. (originally reported by @Formatierer, link to comment).

  • Type a term into the search box (e.g. "Snow")
  • Hover over a menu item in the search suggestions menu (any item except for the top one, e.g. "Snowboarding")
  • Press enter

What happens: the item you were hovering over gets selected (e.g. you navigate to the "Snowboarding" page)
What I expect: the term that is typed into the search box gets selected (e.g. "Snow")

Event Timeline

@Sarai-WMDE curious if you've noticed this before?

The video in the description shows two different situations in which this can happen:

  • accidentally hovering over an option (because your cursor was placed in that area before you started typing into the search box)
  • intentionally hovering over an option (in which case it still feels a bit unexpected to me)

There is a third scenario when this happens. Suggest you use copy and paste by mouse. Select a word anywhere and use the right mouse button to copy it. Then select the search input field with your left mouse button then click the right mouse button to open your browsers context menu to paste the copied word in the input field. Now, depending on your browsers context menu (depending on where the ''paste'' entry is), the mouse cursor is somewhere below the input field. If you type in some more characters or simply ''enter'' the item under the mouse cursor is selected.

Volker_E renamed this task from [TaS] Hover unexpectedly selects menu option to TypeaheadSearch: Hover unexpectedly selects menu option.Oct 13 2022, 3:18 PM
AnneT claimed this task.
AnneT subscribed.

The bug as described in the task description was fixed in T327499; please open a new task if there are any other related bugs still happening