LearnNewsExamplesServices
Frontmatter
id2578
titlemenu.List: focus-leave management
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 7, 2021, 12:20 PM
updatedAtJul 7, 2021, 8:42 PM
githubUrlhttps://github.com/neomjs/neo/issues/2578
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 7, 2021, 8:42 PM

menu.List: focus-leave management

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 7, 2021, 12:20 PM

This one is a bit tricky:

If we click somewhere outside of the menu tree, floating menus should hide (unmount).

Since only one menu tree can (should) be visible at a given time, we can probably just check the dom event path to see if any parent is a menu.

tobiu added the enhancement label on Jul 7, 2021, 12:20 PM
tobiu assigned to @tobiu on Jul 7, 2021, 12:20 PM
tobiu referenced in commit bdd88aa - "menu.List: focus-leave management #2578 (in progress)" on Jul 7, 2021, 4:20 PM
tobiu referenced in commit 26e3b97 - "#2578 menu.List: menuFocus_ config" on Jul 7, 2021, 8:25 PM
tobiu referenced in commit 3275981 - "#2578 menu.List: isRoot config" on Jul 7, 2021, 8:27 PM
tobiu referenced in commit 253c8b8 - "#2578 menu.List: passing isRoot: false to sub-menus" on Jul 7, 2021, 8:27 PM
tobiu referenced in commit df02e4a - "menu.List: focus-leave management #2578" on Jul 7, 2021, 8:42 PM
tobiu closed this issue on Jul 7, 2021, 8:42 PM