[
https://issues.apache.org/jira/browse/NIFI-4324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142113#comment-16142113
]
ASF GitHub Bot commented on NIFI-4324:
--------------------------------------
GitHub user mcgilman opened a pull request:
https://github.com/apache/nifi/pull/2109
NIFI-4324: Addressing sub context menu issue
NIFI-4324:
- Ensuring that sub context menus are removed when hiding to ensure they
are correctly (re)created during mouseenter events.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcgilman/nifi NIFI-4324
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2109.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2109
----
commit d5181e3554dcd173ef7ba8ed2368bbd8d272ab0d
Author: Matt Gilman <[email protected]>
Date: 2017-08-25T20:08:34Z
NIFI-4324:
- Ensuring that sub context menus are removed when hiding to ensure they
are correctly (re)created during mouseenter events.
----
> 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)