]
Brian Leathem updated RF-13437:
-------------------------------
Fix Version/s: 5-Tracking
contextMenu: support hiding by clicking outside only
----------------------------------------------------
Key: RF-13437
URL:
https://issues.jboss.org/browse/RF-13437
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: component-menu
Reporter: Lutz Ulrich
Priority: Minor
Fix For: 5-Tracking
Currently (until version 4.3.4), context menus always disappear when the mouse cursor is
moved outside the menu. It should be possible to restrict hiding the menu when the user
clicks somewhere else, like in many other applications, like Windows Explorer.
I was able to achieve this behavior by unbinding the event handler for mouseleave via
extra scripting.
{{RichFaces.Event.unbindById(menu.id, 'mouseleave');}}
(Note that the code only prevents hiding the main menu on mouseleave.
Sub-menus / menuGroups are still closed on mouseleave.)
But it would be better if the contextMenu would support an attribute for turning on
'hide by outside click only'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: