From 069ea798f03cc758bdbe4276c8f6a33d41a5dc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Mon, 14 Nov 2022 17:55:20 +0300 Subject: [PATCH] Jumping month fixed for inline calendars --- src/components/calendar/Calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 3bdbe62b47..31b3121348 100755 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -2698,7 +2698,7 @@ export default { if (propValue && Array.isArray(propValue)) { if (this.isRangeSelection()) { - propValue = propValue[1] || propValue[0]; + propValue = this.inline ? propValue[0] : propValue[1] || propValue[0]; } else if (this.isMultipleSelection()) { propValue = propValue[propValue.length - 1]; }