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
fix(dialog): backdrop not detaching if container view is destroyed (#20232)
* fix(dialog): backdrop not detaching if container view is destroyed
We recently refactored the Material dialog so that it can be used
as base class for the MDC based dialog. For this, we slightly
changed how animations are announced to the corresponding dialog
ref. This was done because the MDC dialog does not use Angular
animations.
It looks like we slightly regressed in cases where the dialog
container view is destroyed immediately upon dialog close. This
is because we accidentally no longer notify the dialog ref if
the dialog animation state goes from `*` to `void`. Currently we
only handle `*` to `exit` while we should also handle the `void`
state.
This issue has not surfaced in any of our tests, in the dev-app but
one screenshot test inside g3 seems flaky after the dialog refactor.
* fixup! fix(dialog): backdrop not detaching if container view is destroyed
Add same test to MDC dialog
0 commit comments