Skip to content

Commit

Permalink
fix(datepicker): add class "show" to visible datepicker dropdown
Browse files Browse the repository at this point in the history
Fixes #2088
Closes #2013
  • Loading branch information
logihome authored and pkozlowski-opensource committed Mar 16, 2018
1 parent bae171a commit 6938e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datepicker/datepicker-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ export class NgbInputDatepicker implements OnChanges,
private _applyPopupStyling(nativeElement: any) {
this._renderer.addClass(nativeElement, 'dropdown-menu');
this._renderer.setStyle(nativeElement, 'padding', '0');
this._renderer.addClass(nativeElement, 'show');
}

private _subscribeForDatepickerOutputs(datepickerInstance: NgbDatepicker) {
Expand Down

0 comments on commit 6938e4b

Please sign in to comment.