2

White Color appears in the background of the dialog box:

enter image description here

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();
        });
      }

Ankit
  • 86
  • 2
  • 12

1 Answers1

0

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();
            });
          }

Ankit
  • 86
  • 2
  • 12