react-tailwindcss-datepicker icon indicating copy to clipboard operation
react-tailwindcss-datepicker copied to clipboard

[Bug] Date range is not displayed correctly.

Open LeonTU opened this issue 2 years ago • 1 comments

Hi, this date picker component is awesome, but when I was testing the demo in the official website (https://react-tailwindcss-datepicker.vercel.app/demo), I think I found a bug.

Today is July 24, let's say I want to select from July 24 to Sep 2. There are two ways we can pick Sep 2.

  1. Switch to September month then select Sep 2 option.
  2. Stay in Auguste month then select greyed out Sep 2 option.

It works well if I use method 1, but there will be an issue if I use method 2. If I select July 24 then select Sep 2 directly in Auguste month without switching to September month, it would look like we have 2 end dates.

image

I like this package and hope this bug can be fixed, thanks.

LeonTU avatar Jul 24 '23 01:07 LeonTU

Hi 👋 @LeonTU

Thanks for reporting this problem.

We will resolve it as soon as possible.

onesine avatar Jul 24 '23 23:07 onesine

Hi @LeonTU 👋

Sorry for the late reply. Please use the new version.

onesine avatar Jan 30 '25 11:01 onesine