Skip to content

MatDialog afterClosed before beforeClose with NoopAnimationsModule #7572

Closed

Description

@kxlow

Bug, feature request, or proposal:

Bug

What is the expected behavior?

beforeClose should be called before afterClosed when a dialog closes, even with NoopAnimationsModule being used.

What is the current behavior?

afterClosed is called before beforeClose when NoopAnimationsModule is being used.
Does not happen if using BrowserAnimationsModule

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-ehetcr

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

Incorrect behavior.

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

master

Activity

  1. TomDemulierChevret commented on Oct 6, 2017

    @TomDemulierChevret

    I strongly suspect it to be linked to #6736 & #6719
    The pull request fixing it has been available for more than a month but still not been merged alas...

  2. billyjacobs2014 commented on Oct 26, 2017

    @billyjacobs2014

    What is the delay? I will potentially have to downgrade 6 separate projects after tediously upgrading them all, only to find out I can't open a dialog over dialog in IE.

  3. josephperrott commented on Oct 31, 2017

    @josephperrott
    Member

    Closing as this is being addressed in #8051

  4. 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.

  5. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions