Skip to main content

Search and Top Navigation

#9357 closed bug (fixed)

Opened June 03, 2013 10:37PM UTC

Closed May 02, 2017 07:13PM UTC

Last modified May 02, 2017 07:13PM UTC

Menu: Focus not moved with both keyboard & mouse interactions

Reported by: etiger13 Owned by: scottgonzalez
Priority: minor Milestone: 1.12.2
Component: ui.menu Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Scrollable menu item:

  • Give the list focus so keyboard navigation can be used
  • Mouse over the list so an item gets focus from mouseenter
  • Press up/down to make another item have focus
  • Move the mouse side to side.

Expected:

The item underneath the mouse gets focus

Actual:

The item underneath the mouse does not get focus.

Cause:

Focus is given on mouseenter so if the mouse is already in the item then it doesn't receive focus again.

Possible solution:

Use mousemove instead of enter. Not sure how much that would hurt performance though.

Attachments (0)
Change History (5)

Changed June 05, 2013 12:28AM UTC by tj.vantoll comment:1

I see the issue but honestly I don't know if this is worth fixing because of the non-trivial steps you need to recreate this. Mousemove doesn't work because it prevents the menu from picking up from when you enter submenus.

I'll run this by some others tomorrow.

Changed June 06, 2013 02:10AM UTC by tj.vantoll comment:2

status: newopen
summary: Menu: Focus with keyboard/mouseMenu: Focus not moved with both keyboard & mouse interactions

Changed April 18, 2017 06:01PM UTC by scottgonzalez comment:3

Changed May 02, 2017 07:13PM UTC by scottgonzalez comment:4

owner: → scottgonzalez
resolution: → fixed
status: openclosed

In [changeset:"7d992ae29d27cdab8787691a14e689e60c74c05c" 7d992ae]:

#!CommitTicketReference repository="" revision="7d992ae29d27cdab8787691a14e689e60c74c05c"
Menu: Handle mouse movement mixed with keyboard navigation

Fixes #9357
Closes gh-1805

Changed May 02, 2017 07:13PM UTC by scottgonzalez comment:5

milestone: none1.12.2