We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f7e99 commit 9c2a466Copy full SHA for 9c2a466
src/calendar-list/index.tsx
@@ -214,7 +214,7 @@ const CalendarList = (props: CalendarListProps, ref: any) => {
214
215
const isDateInRange = useCallback((date) => {
216
for(let i = -range.current; i <= range.current; i++) {
217
- const newMonth = currentMonth?.clone().addMonths(i);
+ const newMonth = currentMonth?.clone().addMonths(i, true);
218
if (sameMonth(date, newMonth)) {
219
return true;
220
}
0 commit comments