react-date-range icon indicating copy to clipboard operation
react-date-range copied to clipboard

Date range startDate and endDate are null but all dates are highlighted with the selected date color

Open keshava15 opened this issue 3 years ago • 1 comments

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: Screenshot 2022-05-26 at 4 24 46 PM

Browser:

keshava15 avatar May 26 '22 10:05 keshava15

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

stephaned-ev avatar Jun 03 '22 15:06 stephaned-ev