You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
I am trying to convert my app to a Zoneless Angular application. Since converting the application to zoneless, some Angular CDK features don't work as I expected.
I fixed the OverlayRef by calling updatePosition and it works well but I can't find out how to fix the CdkMenuTriggerFor. When I open the menu, the menu list items appear at the top-left (doesn't stick to the cdkMenuTriggerFor). My code is below
Is this a regression?
The previous version in which this bug was not present was
No response
Description
I am trying to convert my app to a Zoneless Angular application. Since converting the application to zoneless, some Angular CDK features don't work as I expected.
I fixed the
OverlayRef
by callingupdatePosition
and it works well but I can't find out how to fix theCdkMenuTriggerFor
. When I open the menu, the menu list items appear at the top-left (doesn't stick to thecdkMenuTriggerFor
). My code is belowReproduction
GitHub repository: https://github.com/manng2/angular-zoneless-bug-reproduce
Angular with Zone
Angular without Zone
Expected Behavior
The menu list should be attached to a parent element like Angular with Zone
Actual Behavior
The menu list appears at the top-left (don't attach to the parent element)
Environment
The text was updated successfully, but these errors were encountered: