Feature Request / Documentation Request / Information
The MatDialog Component currently has built in animation. When opening the MatDialog, it flyes out from the bottom to the center of the screen (or where your position is). I am having a lot of trouble finding anything out there that shows me how to change the MatDialog Animation. For example, I want to dock my MatDialog to the right of the screen and have the animation fly the dialog out from the right rather than from the bottom of the screen.
I do not see any documentation/threads/options in the configuration that allow this behavior. It does seem like the MatSideNav has this functionality. However, MatSideNav is not preferred here since I would end up with a MatSideNav within a MatSideNav.
The only option for animating the 'flyout position' of the MatDialog animation is from the bottom
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Example stack blitz: https://stackblitz.com/edit/angular-wbuvsn?file=app/dialog-overview-example.ts
Better UX/flexibility for MatDialog
All
This control is possible by using the dialog from the cdk (currently in cdk-experimental). Because this animation is not part of the Material spec, it is highly unlikely that we will create this animation in the Material Dialog.
@josephperrott Do you have an issue I can follow? If so, this can probably be closed out and tracked in the other.
why is this closed? is there a way to customize the animation for dialogs? I would love to use dialogs and make them look & animate as drawers
is there any improvement ???
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._
Most helpful comment
why is this closed? is there a way to customize the animation for dialogs? I would love to use dialogs and make them look & animate as drawers