Frontmatter
| id | 4883 |
| title | menu.List: re-add onItemClick() |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Sep 11, 2023, 4:44 PM |
| updatedAt | Sep 11, 2023, 4:45 PM |
| githubUrl | https://github.com/neomjs/neo/issues/4883 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 11, 2023, 4:45 PM |
@ExtAnimal: we had the issue with menus showing up twice. removing the click handler entirely was a bad call, since this also removes handlers & routes for menu items.
i will add it back, plus adjust
showSubMenu()to only render & mount in case there is a real change. this should also prevent the duplication.