-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(Dialog): animate.leave #32486
Copy link
Copy link
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/dialogfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/dialogfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Feature Description
When you use the if control flow or ViewContainerRef.createComponnt in Angular, animate.enter and animate.leave work. However, animate.leave support is not provided in components such as Dialog and Overlay. I think the reason is that the overlay is directly destroyed.
Use Case
Use case: https://stackblitz.com/edit/stackblitz-starters-trwgh2rt?file=package.json