I\'m using angular 5 and angular material (latest version) and I\'m trying to open a dialog from a page. When I click the button that triggers the opening, the entire website is
See the API Docs for MatDialogConfig. You can set hasBackdrop to false.
MatDialogConfig
hasBackdrop
false
const dialogRef = this.dialog.open(DialogComponent, { width: '250px', data: { name: 'Juan Manuel', animal: 'Perro' }, hasBackdrop: false });