From c59be4f6b2381ba8a4d68e177b986188bbfa68db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Wed, 17 Nov 2021 16:01:39 +0300 Subject: [PATCH] Refactor #1750 --- src/components/calendar/Calendar.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index c634e147d..a26313d3a 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -328,7 +328,10 @@ export default { if (!this.$attrs.disabled) { this.initFocusableCell(); - this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px'; + + if (this.numberOfMonths === 1) { + this.overlay.style.width = DomHandler.getOuterWidth(this.$el) + 'px'; + } } } },