Skip to content

Commit

Permalink
focus blink fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antlionguard committed May 2, 2024
1 parent 1ea0731 commit ccc366e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/lib/datepicker/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1155,11 +1155,11 @@ export default {
}
if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) {
if (this.input) {
this.input.focus();
}
setTimeout(() => {
if (this.input) {
this.input.focus();
}
this.overlayVisible = false;
}, 150);
}
Expand Down

0 comments on commit ccc366e

Please sign in to comment.