Opened 10 years ago

Closed 6 years ago

Last modified 6 years ago

#9357 closed bug (fixed)

Menu: Focus not moved with both keyboard & mouse interactions

Reported by: etiger13 Owned by: Scott González
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.

Change History (5)

comment:1 Changed 10 years ago by tj.vantoll

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.

comment:2 Changed 10 years ago by tj.vantoll

Status: newopen
Summary: Menu: Focus with keyboard/mouseMenu: Focus not moved with both keyboard & mouse interactions

comment:4 Changed 6 years ago by Scott González

Owner: set to Scott González
Resolution: fixed
Status: openclosed

In 7d992ae:

Menu: Handle mouse movement mixed with keyboard navigation

Fixes #9357
Closes gh-1805

comment:5 Changed 6 years ago by Scott González

Milestone: none1.12.2
Note: See TracTickets for help on using tickets.