Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IE, Chrome
-
Assignee Priority:P2
Description
After displaying the ace:contextMenu, any subsequent right clicks outside of the element that shows the menu, do not remove the menu from the page. This is seen on IE and Chrome browsers. This is not seen in Firefox.
Also if there are two contextMenu components on the page, its possible to show both of these at the same time. This can be seen with the Showcase -> Context Menu -> Per Component Demo.
Also if there are two contextMenu components on the page, its possible to show both of these at the same time. This can be seen with the Showcase -> Context Menu -> Per Component Demo.
Committed fix to 4.0 trunk at revision 40699 and to 3.3 EE branch at revision 40700. Added oncontextmenu event trigger to document click handler in wijmo code, so menus are hidden on right clicks as well.
Testing notes: to reproduce/test you can modify the "ace:contextMenu - Table Integration Example" demo. Instead of a single context menu for the whole table, move the context menu component inside a column in the table to trigger for another component inside the same column/row, such as the h:outputText component in that table, so that there's a context menu per row. With this fix, when triggering a context menu in one row, the previous open menu should disappear.