[ 
https://issues.apache.org/jira/browse/NIFI-4324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Gilman updated NIFI-4324:
------------------------------
    Description: 
If an item in the context menu is a group-item, the sub menu may not trigger 
when 'mouseenter'-ing the item from outside the context menu. This is most 
noticeable when the first menu item is a group-item. It appears the menu item 
'mouseenter' event is not triggering. If the cursor is already in the context 
menu (ie when the group-item is second in the list for instance) the event 
triggers as expected.

Root cause of the issue is that when the context menu is hidden, sub menu's are 
hidden instead of removed. So the sub menu works correctly on the first attempt 
but any subsequent attempts will fail because the sub menu is already part of 
the DOM. Proper removal will allow the sub menu to be created correctly.

  was:If an item in the context menu is a group-item, the sub menu may not 
trigger when 'mouseenter'-ing the item from outside the context menu. This is 
most noticeable when the first menu item is a group-item. It appears the menu 
item 'mouseenter' event is not triggering. If the cursor is already in the 
context menu (ie when the group-item is second in the list for instance) the 
event triggers as expected.


> UI - Context Menu Issue
> -----------------------
>
>                 Key: NIFI-4324
>                 URL: https://issues.apache.org/jira/browse/NIFI-4324
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>             Fix For: 1.4.0
>
>
> If an item in the context menu is a group-item, the sub menu may not trigger 
> when 'mouseenter'-ing the item from outside the context menu. This is most 
> noticeable when the first menu item is a group-item. It appears the menu item 
> 'mouseenter' event is not triggering. If the cursor is already in the context 
> menu (ie when the group-item is second in the list for instance) the event 
> triggers as expected.
> Root cause of the issue is that when the context menu is hidden, sub menu's 
> are hidden instead of removed. So the sub menu works correctly on the first 
> attempt but any subsequent attempts will fail because the sub menu is already 
> part of the DOM. Proper removal will allow the sub menu to be created 
> correctly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to