[richfaces-issues] [JBoss JIRA] (RF-13437) contextMenu: support hiding by clicking outside only

Brian Leathem (JIRA) issues at jboss.org
Thu Dec 12 11:30:32 EST 2013


     [ https://issues.jboss.org/browse/RF-13437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list