Opened 5 years ago

Closed 4 years ago

#18170 closed defect (patchwelcome)

dijit/Menu: Executing wrong menu item when using keyboard and mouse

Reported by: jvoccia Owned by:
Priority: undecided Milestone: 1.13
Component: Dijit Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:

Description

Using this JSFiddle: http://jsfiddle.net/H7Zh8/112/

Select either 1.9.3 or 1.10.0 from the left drop down. Click Run.

Right click on "Right Click Me"

A menu pops up.

Use your keyboard arrows to navigate to Item 5

Now use your mouse to hover over Item 1 - you should see the highlight over Item 1

Now press the enter key on your keyboard.

I would expect Item 1 to be selected since it is highlighted. Instead Item 5 is selected.

Change History (2)

comment:1 Changed 5 years ago by bill

Hover doesn't affect focus (same as normal browser behavior). It used to (see test_Menu.html in 1.8), but was changed for 1.9 (see test_Menu.html in 1.9)

IIRC the change was intentional, although I notice that the system menus on macs and windows work as you expect, where hover affects focus.

In any case I agree the current behavior is confusing, so either the behavior or the UI should be changed.

Version 0, edited 5 years ago by bill (next)

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.