SaturnTeam / saturn-datepicker

Angular Material Datepicker with range selection
MIT License
278 stars 110 forks source link

Add ability to choose the default "hovered date" when selecting a new month #123

Open blakeweissman-sulzerus opened 4 years ago

blakeweissman-sulzerus commented 4 years ago

Currently when selecting a new month after selecting the first/minimum date, the calendar automatically sets the "hovered" second/maximum day as the current day of the month. Would it be possible to implement a feature to change this behaviour to "hover" over a specified day of the month? (Ex: Change it to the first of the month instead of the current day of the current month.) See the screenshots below for more info.

Screen Shot 2020-01-27 at 3 21 21 PM First/minimum date is selected.

Screen Shot 2020-01-27 at 3 21 35 PM After going to the next month without hovering over the days of the month, the calendar defaults to hovering over the current day of the month (this screenshot was taken on January 27th).