Closed
Description
Is this a regression?
- 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 facing issue that I need to manually trigger change detection when handling overlay output event positionChange.
I would expect that angular library components / directive output events will be in zone so consumer does not need to run manual detection change when handling.
Reproduction
StackBlitz link: https://stackblitz.com/edit/crrhb9?file=package.json
Steps to reproduce:
- click open
- read trough items and click outside e.g.
- click close
- click open detectchanges
- read trough
Expected Behavior
positionChange event is emitted in ngZone
Actual Behavior
positionChange event is emitted outside of ngZone
Environment
- Angular: 17
- CDK/Material: 17.2.1
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):