react-date-range
react-date-range copied to clipboard
Date range startDate and endDate are null but all dates are highlighted with the selected date color
Subject of the issue
Describe your issue here.
Date range startDate and endDate are null but all dates are highlighted with the selected date color
This is a bit confusing to users all dates are in the selected color but my start and dates are null
const [state, setState] = useState([ { startDate: null, endDate: null, key: 'due', } ]);
[BUG] Bug Reproduce Steps
When start and end date are null Tell us how to reproduce this issue.
[BUG] Expected behavior
If dates are not yet selected no need to highlight all dates
Environment
Package Version:
React version:
Node version:

Browser:
Same problem here. I don't understand if this is a bug or if I misunderstanding how to set up an empty selection?
Edit: Similar issue here