Opened 5 years ago

Closed 5 years ago

#18262 closed defect (fixed)

Right Click and Then Immediate Left Click on Menu Results in First Item In Menu Getting Executed

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

Description

Right Clicking on an element with a Context Menu attached, brings up the context menu. Note that the first item is not highlighted. Without moving your mouse left clicking on the context menu without moving your mouse should close the context menu.

However using the Tundra theme it does not.

To Reproduce - go here: http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/themes/themeTester.html?theme=tundra

  1. Right click to open the context menu.
  2. Do a left click instantly without move the mouse.
  3. You will notice that the left click triggers the selection of the first menu item and executes it.

In the Claro theme, these same steps result in "focus" being set to the menu. This is better than the "First Item Selected" situation, but arguably still the incorrect behavior.

Change History (2)

comment:1 Changed 5 years ago by bill

Milestone: tbd1.10.3
Owner: set to bill
Status: newassigned

comment:2 Changed 5 years ago by bill

Resolution: fixed
Status: assignedclosed

Fixed in bf519559662393911e4c8a451a4138d5aa41aac0 and bf519559662393911e4c8a451a4138d5aa41aac0.

Note: See TracTickets for help on using tickets.