Skip to content

Commit e7a7eb9

Browse files
committedDec 1, 2021
fix(modal): add modal-backdrop css class
1 parent e543623 commit e7a7eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎projects/coreui-angular/src/lib/modal/modal/modal.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export class ModalComponent implements OnInit, OnDestroy {
260260

261261
private setBackdrop(setBackdrop: boolean): void {
262262
if (setBackdrop) {
263-
this.activeBackdrop = this.backdropService.setBackdrop();
263+
this.activeBackdrop = this.backdropService.setBackdrop('modal');
264264
} else {
265265
this.activeBackdrop = this.backdropService.clearBackdrop(this.activeBackdrop);
266266
}

0 commit comments

Comments
 (0)
Please sign in to comment.