Skip to content

[MdDialog] opening multiple dialog return wrong dialogRef. #6560

@aitboudad

Description

@aitboudad

Bug, feature request, or proposal:

Bug

What is the expected behavior?

If I open a dialog while another is in the process of being opened it should be opened and return the dialogRef of the requested ones

What is the current behavior?

The requested dialog is ignored and a return a dialogRef which not belong the the requested dialog

What are the steps to reproduce?

https://github.com/angular/material2/blob/master/src/lib/dialog/dialog.ts#L123-L126

What is the use-case or motivation for changing an existing behavior?

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

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions