diff --git a/src/app/datePicker.component/datePicker.component.html b/src/app/datePicker.component/datePicker.component.html index 4057083..6a92132 100644 --- a/src/app/datePicker.component/datePicker.component.html +++ b/src/app/datePicker.component/datePicker.component.html @@ -9,7 +9,8 @@ [ngStyle]="styles.input" [disabled]="disableInput || disablePicker" [placeholder]="placeholder" - (click)="pickerVisible = !pickerVisible" + (focusin)="pickerVisible = true" + (focusout)="pickerVisible = false" [value]="formattedDate" (change)="setDate($event.target.value)" [tabindex]="inputTabIndex" @@ -18,7 +19,8 @@