g1eb / angular-datetime-range

📅 Angular directive for datetime range input
https://rawgit.com/g1eb/angular-datetime-range/master/
MIT License
25 stars 14 forks source link

Calendar | Month-Year navigation #4

Closed IbrahimHd closed 7 years ago

IbrahimHd commented 7 years ago

Hi Gleb,

The support of scroll over the time elements is so useful! Could you please consider supporting scroll for the Month as well? This will be useful if the date needs to be moved for long period of time, something like (1-3-2015 to 30-3-2016). It helps avoiding clicking too many times. It's also worth to mention that scrolling over the month is expected to moves through the calendar (months) but not looping through the (12 months).

Hopeful this can be added on the road-map of improvements.

thanks a lot!

g1eb commented 7 years ago

Good suggestion, I've added it to the latest release(v0.2.7) 👍

With respect to looping, scroll behavior is exactly the same as clicking on the left/right arrows which is consistent with scroll behavior with hours/minutes/seconds.

IbrahimHd commented 7 years ago

Thanks Gleb for implementing scrolling over Month.

During scrolling it's difficult to know "where I'm" especially if the date needs to move to another year. Do you see that displaying the year next to month like MONTH YYYY helps overcoming that issue? (year can be shown only if it's not the current one, or simply always visible)

Thanks!

g1eb commented 7 years ago

Good idea! :) I've added that to the latest version (v0.2.9)

IbrahimHd commented 7 years ago

thanks 👍