diff --git a/src/panels/WeekPanel/index.tsx b/src/panels/WeekPanel/index.tsx index 78cc8c786f70..cd053925f38f 100644 --- a/src/panels/WeekPanel/index.tsx +++ b/src/panels/WeekPanel/index.tsx @@ -64,7 +64,8 @@ function WeekPanel(props: WeekPanelProps) { const isRangeStart = isSameWeek(generateConfig, locale.locale, rangeStart, date); const isRangeEnd = isSameWeek(generateConfig, locale.locale, rangeEnd, date); return classNames(rowPrefixCls, { - [`${rowPrefixCls}-selected`]: isSameWeek(generateConfig, locale.locale, value, date), + [`${rowPrefixCls}-selected`]: + !rangedValue && isSameWeek(generateConfig, locale.locale, value, date), // Patch for hover range [`${rowPrefixCls}-range-start`]: isRangeStart,