Using angular material 5.1.0
The MatDialog always opens at the bottom. I read one post about this issue with MDDialog, has the issue not been fixed? and the workaround should still be the same by overriding the mat-dialog-container class?
Also, i thought by default it would be modal but it does not seem to be so since i can click the button again and it creates another dialog.
Please use the issue template and provide a StackBlitz with your reproduction of your issue.
Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate
never mind this. i got it to work. had to manually add
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
in styles.css
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
never mind this. i got it to work. had to manually add
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
in styles.css