Crazy-Marvin / VacationDays

Know when you are free.
https://crazymarvin.com/vacation-days/
Apache License 2.0
37 stars 9 forks source link

Choose time span with tap an drag #99

Closed amarradi closed 11 months ago

amarradi commented 1 year ago

I intuitively clicked on the date and dragged my finger to the end date. But that did not work. When I click on the date, the start date is set. Now I click on the next date and the end date is set. That is correct. Is there a possibility to set the date with a time span? I press the start date and drag to the end date and then release?

unbiaseduser commented 1 year ago

Google's date picker library doesn't support dragging, if you want it you can ask them.

amarradi commented 1 year ago

On Material.io it looks like this tap and drag is supported

https://material.io/components/date-pickers

Therefore I had the idea that it could be nice to realize it

Mein Krebstagebuch https://www.marcusradisch.de

unbiaseduser @.***> schrieb am Mo., 26. Sep. 2022, 05:19:

Google's date picker library doesn't support dragging, if you want it you can ask them. https://github.com/material-components/material-components-android/issues

— Reply to this email directly, view it on GitHub https://github.com/Crazy-Marvin/VacationDays/issues/99#issuecomment-1257421318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFP5PMIGVCWY4QINKWKFPDWAEI5RANCNFSM6AAAAAAQUA3HFQ . You are receiving this because you authored the thread.Message ID: @.***>

unbiaseduser commented 1 year ago

I'm 100% sure they specifically say:

To select a range of dates, tap the start and end dates on the calendar

amarradi commented 1 year ago

Ah I just see that this cool feature exists in the Material Design for the desktop datepicker. Apparently there's not for the mobile variant. I find this stupid, but my opinion is not important for Google.

Mein Krebstagebuch https://www.marcusradisch.de

unbiaseduser @.***> schrieb am Mo., 26. Sep. 2022, 06:53:

I'm 100% sure they specifically say:

To select a range of dates, tap the start and end dates on the calendar

— Reply to this email directly, view it on GitHub https://github.com/Crazy-Marvin/VacationDays/issues/99#issuecomment-1257480451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFP5PN5TEBR5GFNDMYYWT3WAET5JANCNFSM6AAAAAAQUA3HFQ . You are receiving this because you authored the thread.Message ID: @.***>

CrazyMarvin commented 11 months ago

I will close this then.