adaptui/react

DateRangeSelector cannot select "disabled" dates of other months

jrmyio opened this issue · 2 comments

Going by this example:
https://renderlesskit-react.vercel.app/?path=/story/datepicker-range--controlled-input

When you make a selection that uses dates of the "next month", the selection looks like you can select it:
image

However because these dates are "disabled" you cannot actually left-click to confirm the selection.

Is there any reason (aside from styling) that dates that are not part of the current month have aria-disabled=true?

This also goes for minmax ranges:
https://renderlesskit-react.vercel.app/?path=/story/calendar-range--min-max-date&args=start:2021-09-10;end:2021-09-17

Yeah, it is a mistake done in the styling part, you cannot click the "disabled" dates.

You can however select the dates in the next month after navigating to the next month in the calendar which are within the min/max range.

Fixed in #326