-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/dialog
Description
Bug, feature request, or proposal:
Bug: MdDialog not centered when is open passing a configuration of a custom width.
What is the expected behavior?
MdDialog should be the size of the specified width but keep his center location.
What is the current behavior?
MdDialog is being moved to the left.
What are the steps to reproduce?
https://plnkr.co/edit/fvG6lS8VIihJUlfu01Bv?p=preview
openDialog() { this.dialog.open(DialogOverviewExampleDialog, { width: '600px' }); }
Which versions of Angular, Material, OS, browsers are affected?
Material 2.0.0-beta.2
Chrome in Windows
ocarreterom, zerah54, DeeVeX, jefersonestevo, LilSebastian5000 and 1 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/dialog