Opened 5 years ago

Closed 4 years ago

#18263 closed defect (patchwelcome)

Menu in Firefox displays default selection depending on where the mouse pointer is located

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

Description

Go here: http://jsfiddle.net/5y74V/3/

-Click on the red div to give it focus. -Ensure that the cursor is exactly below the "Target" but some distance below it. -Press Shift-F10 -The Menu shows up. -On Chrome the first item is selected by default. -On FF the item on which the cursor is hovering is selected.

It seems the proper behavior is the first item should be highlighted in the Firefox case.

Change History (2)

comment:1 Changed 4 years ago by bill

Yah, when the menu shows up underneath the cursor it generates a mouseover event. Seems like a Firefox bug, but I guess we could work around it by ignoring mouseover events that occur immediately after displaying a menu. I think the problem isn't limited to context menus. It could happen with drop down menus too, when the dropdown menu is opened via keyboard.

See also #18165.

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.