Frontmatter
| id | 2578 |
| title | menu.List: focus-leave management |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 7, 2021, 12:20 PM |
| updatedAt | Jul 7, 2021, 8:42 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2578 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 7, 2021, 8:42 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.