Skip to content

CdkDialog afterClosed called twice on safari & edge #13585

@jpzwarte

Description

@jpzwarte

Bug, feature request, or proposal:

afterClosed is called twice after closing the dialog on Safari & Edge. It is not called twice on Chrome & FF.

What are the steps to reproduce?

See https://stackblitz.com/edit/angular-tqgsk7

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Latest stable CDK (6.4.7)

Works fine on Chrome & FF
Does not work on Safari & Edge

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions