Skip to content

Commit

Permalink
fix: add min-width to dropdown panel
Browse files Browse the repository at this point in the history
  • Loading branch information
varnastadeus committed Apr 24, 2018
1 parent 75a3ee5 commit ef247a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ng-select/ng-dropdown-panel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ export class NgDropdownPanelComponent implements OnInit, OnChanges, OnDestroy, A
dropdownPanel.style.bottom = 'auto';
dropdownPanel.style.left = offsetLeft + 'px';
dropdownPanel.style.width = selectRect.width + 'px';
dropdownPanel.style.minWidth = selectRect.width + 'px';
}

private _whenContentReady(): Promise<void> {
Expand Down

0 comments on commit ef247a8

Please sign in to comment.