bug(menu): Nested Mat Menu misaligns and appears on click instead of hover for a reusable component with content projection #30255
Labels
needs triage
This issue needs to be triaged by the team
Is this a regression?
The previous version in which this bug was not present was
No response
Description
I'm creating a reusable mat menu component with content projection.
For a single menu, it is working fine without any issue, but for nested menu, it is not showing the default behavior:
This issue also is in Angular 8 and 18
Reproduction
StackBlitz link: https://stackblitz.com/edit/stackblitz-starters-waqmm6ja?file=src%2Fapp%2Fmenu-panel%2Fmenu-panel.component.html (Angular 18)
https://stackblitz.com/edit/dynamic-material-menu-angular-8-dzzqt2cq?file=src%2Fapp%2Fmenu-panel%2Fmenu-panel.component.html (Angular 8)
Steps to reproduce:
Expected Behavior
It should
Actual Behavior
Environment
The text was updated successfully, but these errors were encountered: