From 83f0990bf9c8ab06654fc5ccfa0d22578bd2b33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Tue, 7 Dec 2021 11:45:25 +0300 Subject: [PATCH] Refactor #1825 --- src/components/calendar/Calendar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 7e60e58ce..40929f247 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -394,7 +394,9 @@ export default { }, months() { if (this.overlay) { - setTimeout(this.updateFocus, 0); + if (!this.focused) { + setTimeout(this.updateFocus, 0); + } } }, numberOfMonths() {