Skip to content

Commit e543623

Browse files
committed
fix(offcanvas): add offcanvas-backdrop css class
1 parent 32867af commit e543623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/coreui-angular/src/lib/offcanvas/offcanvas/offcanvas.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class OffcanvasComponent implements OnChanges, OnInit, OnDestroy {
217217

218218
private setBackdrop(setBackdrop: boolean): void {
219219
if (setBackdrop) {
220-
this.activeBackdrop = this.backdropService.setBackdrop();
220+
this.activeBackdrop = this.backdropService.setBackdrop('offcanvas');
221221
this.backdropClickSubscribe();
222222
} else {
223223
this.activeBackdrop = this.backdropService.clearBackdrop(this.activeBackdrop);

0 commit comments

Comments
 (0)