bug(cdk/menuitem): Combining cdkMenu
and ngTemplateOutlet
results in a NullInjectorError
#28941
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
Combining
cdkMenu
andngTemplateOutlet
results in aNullInjectorError
Reproduction
StackBlitz link: https://stackblitz.com/edit/wnmde6?file=src%2Fexample%2Fcdk-menu-standalone-menu-example.html
Steps to reproduce:
Click me!
buttonExpected Behavior
The menu opens
Actual Behavior
An expection is thrown and the menu won't open.
Environment
The text was updated successfully, but these errors were encountered: