Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.89k stars 2.23k forks source link

No in-range style when selecting month range #3597

Open vincaslt opened 2 years ago

vincaslt commented 2 years ago

Describe the bug

in-range classes are missing when selecting a range of months in a single input.

To Reproduce Steps to reproduce the behavior:

  1. Go to "range for one date picker" example in docs
  2. Add showMonthYearPicker prop
  3. Select a date and hover on another one
  4. No range is shown (in inspector, classes are not added too).

Expected behavior Classes are added same as for day range picker, so that they can be styled.

Screenshots

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.