Closed incognos closed 1 week ago
not sure if this is a good way to address this, but here is a workaround:
.react-datepicker {
display: flex;
flex-wrap: wrap;
}
or combine with calendarClassName
if you're wary of overriding the main class.
i.e.
<DatePicker ... calendarClassName="react-datepicker-flexible" ... />
.react-datepicker-flexible {
display: flex;
flex-wrap: wrap;
}
Did not fix it but appreciate the response. Limited to 2 months for now.
Describe the bug Months with 6 lines cause the calendar to shift if more than 2 months shown
To Reproduce
over the summer of 2024, june starts on a saturday and ends on a sunday. This causes the month to have 6 lines.
Expected behavior I don;t expect september to be completely out of alignment with the other months
Screenshots
Desktop (please complete the following information):