Fixed #2803 inline calendar autofocus when disabledDates changed

pull/2892/head
Paul Su 2022-08-26 14:49:57 +08:00
parent 67320fb0d8
commit 4a2807ea94
1 changed files with 3 additions and 0 deletions

View File

@ -435,6 +435,9 @@ export default {
months() {
if (this.overlay) {
if (!this.focused) {
if (this.inline) {
this.preventFocus = true
}
setTimeout(this.updateFocus, 0);
}
}