Búsqueda de sitios web

typescript - Angular Material: El color blanco aparece en el fondo después de hacer clic en Eliminar filas de la tabla


El color blanco aparece en el fondo del cuadro de diálogo:

TypeScript: config-referrals.component.ts

    openDialog(action, obj) {
        this.globalService.configAvailability = null;
        obj.action = action;
        const dialogRef = this.dialog.open(AddConsultantComponent,{
          data: obj,
        });
        dialogRef.afterClosed().subscribe(result => {
          this.ngOnInit();
        });
      }

Respuesta #1

TypeScript: config-referrals.component.ts

    openDialog(action, obj) {
            this.globalService.configAvailability = null;
            obj.action = action;
            const dialogRef = this.dialog.open(AddConsultantComponent,{
              data: obj,
              scrollStrategy: new NoopScrollStrategy()
            });
            dialogRef.afterClosed().subscribe(result => {
              this.ngOnInit();
            });
          }