Closed futwick closed 3 years ago
related to #21
I've found another workaround. I've made two transparent inline pickers and absolutely positioned one over the other.
Not perfect but it has potential.
I'm switching between the two pickers by changing their z-index.
I've had to make sure the two calendars stay in sync (when the month changes on one it must also change on the other).
I've made the following elements transparent.
.containermonths background on both calendars: `.litepicker .containermonths { background-color: transparent; }`
.day-item and .month-item-header text color on the second calendar: `#picker2container .litepicker .container__days .day-item,
color: transparent;
}`
Here's a demo: https://jsfiddle.net/futwick/7s8wj104/
Nice, thanks for sharing the solution.
Litepicker is excellent. Thank you for creating it.
It would be even better if it had the ability to compare two date ranges like the Google Analytics calendar can: