Skip to content

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

Closed

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?

Activity

  1. added
    P4
    on Aug 23, 2017
  2. jelbourn commented on Aug 23, 2017

    @jelbourn
    Contributor

    @crisbeto we should do something to make this behavior more obvious

  3. added a commit that references this issue on Oct 28, 2017
    11e1358
  4. added a commit that references this issue on Nov 2, 2017
    cc4fc11
  5. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P4

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions