Angular Materials 6.3.0 Dialog is not center align after update?
Bug, feature request, or proposal:
Angular Materials 6.3.0 Dialog is not center align after update?
What is the expected behavior?
Dialog must be in center horizontally and vertically as default
What is the current behavior?
Dialog is right align horizontally
What are the steps to reproduce?
It occurred after update material 6.2.1 to 6.3.0
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6.3.0
Is there anything else we should know?

https://github.com/angular/material2/pull/11393 may be related. Share u code for open dialog
Thanks, I found what causes this problem.
Whenever I set dir="rtl" in html as follows <html lang="en" dir="rtl"> above problem occurred.
How can I fix it?
set custom align https://material.angular.io/components/dialog/api experiment with MatDialogConfig -> DialogPosition
How can I center horizontally and vertically as default ?
set options in root for MatDialogConfig or use wraper for all modal
I knew it, I don't know how we can set center align for dialog with DialogPosition
Please see file dialog-overview-example-dialog.html, dialog-overview-example.ts it`s workaround https://stackblitz.com/edit/angular-rktjpm?file=app%2Fdialog-overview-example-dialog.html
@Mds92 Please provide a reproduction of your issue as I am not able to reproduce it myself to be able to investigate the issue you are seeing.
Just add dir="rtl" to html tag
Adding dir="rtl" in this stackblitz seems to work as expected. Can you provide a reproduction from this fork?
https://stackblitz.com/edit/angular-rktjpm-bemlsf?file=app%2Fdialog-overview-example.ts look at index.html
I have the same problem
Is there any solution

The same answer of @WandererInVoids https://stackoverflow.com/questions/51009781/angular-materials-6-3-0-dialog-is-not-center-align-after-update/51063213#51063213
Fixed by #11877
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.