Vuepic / vue-datepicker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
1.43k stars 142 forks source link

No class to identify start or end of the date range, while hovering, on multi-dates if one date is selected #809

Closed Turito closed 5 months ago

Turito commented 5 months ago

Describe the bug Since v8.3.0 (I think due to https://github.com/Vuepic/vue-datepicker/commit/3ce0e0a81239c0e1be6509f097ad653825982333) if you use the multi-dates mode then it's no longer possible, after selecting a date, there is no class that identifies the start or end of the date range to have custom styles for hovering.

In v8.3.0, after selecting a day then:

In v8.2.0, after selecting a day then:

To Reproduce Steps to reproduce the behavior:

  1. Go to this demo vue-datepicker@v8.3.2
  2. Click on a random date to select it.
  3. Hover on another non-selected date and see that there is no class that identifies the start or end of the date range

Expected behavior The expected behavior would be the same of the v8.2.0

Screenshots v8.3.0 Screenshot 2024-04-05 at 11 08 24

v8.2.0 Screenshot 2024-04-05 at 10 40 37

Desktop & mobile (please complete the following information):