Open multiwebinc opened 5 years ago
Interesting feature, but I'm not convinced this should be in library itself. You can add custom class to elements on hover and use CSS to style dates like that.
@nazar-pc This can't be done with pure CSS. I'm thinking you misunderstood what I was talking about. I mean highlight the dates in between the two dates. Sort of like it is now after you select the second date, however doing that on mouse over before the second date is actually selected.
No, I heard you right. You can add event handler for mouse movements and add classes accordingly yourself. Sure, not as simple as having it built-in, but still very straightforward to do.
When using a range, after the first date is selected, the values in between should be highlighted when mousing over the dates on the calendar. Similar to https://flatpickr.js.org/examples/#range-calendar.