Open lasas opened 4 months ago
My guess, that this is result of Angular changes in v18: https://github.com/angular/angular/commit/64f870c12bae1ad66509f0d65f8d3e051aae6eaa
But I'm still not sure, that's the best way to solve it. It's possible to use markForCheck()
after closing modal (like commented line in sample). But maybe the better way to migrate to signals? Locally, I converted modalOpened
to signal and no more issue. Is the signals are the way to go?
Reproduction link
https://stackblitz.com/edit/stackblitz-starters-r33rar?file=src%2Fmain.ts
Steps to reproduce
What is expected?
After closing modal, button in drawer should be in normal state (not loading).
What is actually happening?
After closing modal, button in drawer is still in loading state.
It's regression after upgrade to v18. Not sure if it's CDK or ng-zorro-antd.
It's possible to workaround it using
ChangeDetectorRef.markForCheck()