Skip to content

Commit 415c8ec

Browse files
committed
fix(dropdown): missing dropup class for dropup-center
1 parent 2465d37 commit 415c8ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ export class DropdownComponent implements AfterContentInit, OnDestroy, OnInit {
259259
!this.direction,
260260
[`${this.direction}`]: !!this.direction,
261261
[`${this.variant}`]: !!this.variant,
262+
'dropup' : this.direction === 'dropup' || this.direction === 'dropup-center',
262263
show: this.visible
263264
};
264265
}

0 commit comments

Comments
 (0)