gpbl / react-day-picker

DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.

Home Page:https://daypicker.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Datepicker Allows Selection of Ranges with Disabled Days in Between

leonardoparisii opened this issue · comments

Issue Description:

During the date range selection, it's currently possible to select ranges that include disabled days in between. This behavior is not intended and needs to be addressed to ensure a more accurate and user-friendly date selection experience.

Expected Behavior:

The datepicker should restrict users from selecting date ranges that include disabled dates in between. Users should only be able to select continuous date ranges without any disabled days interrupting the selection.

This is a duplicate of #1885, check the page to see a workaround. We will fix this in the next major version.