Merge pull request #2892 from BoYuanSu/master
Fixed #2803 inline calendar autofocus when disabledDates changedpull/2929/head
commit
a2596c98a1
|
@ -459,6 +459,9 @@ export default {
|
||||||
months() {
|
months() {
|
||||||
if (this.overlay) {
|
if (this.overlay) {
|
||||||
if (!this.focused) {
|
if (!this.focused) {
|
||||||
|
if (this.inline) {
|
||||||
|
this.preventFocus = true
|
||||||
|
}
|
||||||
setTimeout(this.updateFocus, 0);
|
setTimeout(this.updateFocus, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue