You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, i have got problem when render react date picker on mobile
when i selected date on next month then submit and i re-open the calendar
it will display only month that i selected onwards, but i also need the calendar render current month
here below is my code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi, i have got problem when render react date picker on mobile
when i selected date on next month then submit and i re-open the calendar
it will display only month that i selected onwards, but i also need the calendar render current month
here below is my code
<DatePicker
selected={begin}
onChange={onDatesChange}
startDate={begin}
endDate={end}
inline
minDate={today}
selectsRange
monthsShown={limitMonthForMobile}
renderDayContents={renderDayContents}
calendarClassName="mobile"
disabledKeyboardNavigation
renderCustomHeader={(props) => <CalendarHeader {...props} />}
/>
Beta Was this translation helpful? Give feedback.
All reactions