diff --git a/src/components/Picker/CalendarDialog/DialogCalendarCard.tsx b/src/components/Picker/CalendarDialog/DialogCalendarCard.tsx index 9961bc9..35d07c5 100644 --- a/src/components/Picker/CalendarDialog/DialogCalendarCard.tsx +++ b/src/components/Picker/CalendarDialog/DialogCalendarCard.tsx @@ -48,7 +48,9 @@ const DialogCalendarCard: React.FC = ({ if (searchType === 'range') { const delta = calculateMonthDifference(selected as Date, new Date(year, month - 1, 1)) console.log('xxxxx', calendarRef.current) - calendarRef.current?.gotoMonth(delta) + setTimeout(() => { + calendarRef.current?.gotoMonth(delta) + }, 50) } else { setSelected(new Date(year, month - 1, 1)) }