Skip to content

[Dialog] Allow customization of open/close animations #8857

Closed
@Howard-Song

Description

@Howard-Song

Bug, feature request, or proposal:

feature

What is the expected behavior?

When open or close dialog,animation should define by developer.

What is the current behavior?

I found that open and close dialog <mat-dialog-container></mat-dialog-container>will add class ng-animating,well open will add once and remove within a short time period(less than 0.5s),but in my case,open and close will use different animation,so it doesn't work for me to overwrite .ng-animating

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

Add different animation in open and close dialog.

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

Angular: 5.0.0,
Material: 5.0.0-rc0,
OS: win10,
TypeScript: 2.6.1,
Browsers: [email protected]

Metadata

Metadata

Assignees

Labels

P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/dialogfeatureThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions