Skip to content

Commit

Permalink
Merge pull request #2892 from BoYuanSu/master
Browse files Browse the repository at this point in the history
Fixed #2803 inline calendar autofocus when disabledDates changed
  • Loading branch information
tugcekucukoglu authored Sep 2, 2022
2 parents 1b2bfb2 + 4a2807e commit a2596c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,9 @@ export default {
months() {
if (this.overlay) {
if (!this.focused) {
if (this.inline) {
this.preventFocus = true
}
setTimeout(this.updateFocus, 0);
}
}
Expand Down

0 comments on commit a2596c9

Please sign in to comment.