Teleopti / styleguide

Teleopti styleguide
http://teleopti.github.io/styleguide/
MIT License
5 stars 24 forks source link

New date range picker bugs fix and refactor #405

Closed Halomaple closed 6 years ago

TheRockman commented 6 years ago

I personally dont like that i need to click to select "To date" after i have selected "From date". Would we not be able to guess thats what the user want to do at that point? But its a personal preference for reducing the number of clicks, technically i think this is fine

Halomaple commented 6 years ago

I agree that it feels like an extra step to focus 'To Date' after selecting 'From Date'. But I think we can not make sure whether user has finishing selecting 'From Date' or not. User might select wrong 'From Date' and want to change it by clicking another day, but actually the second click will select 'To Date' in previous design. Then user has to clear 'From Date' and 'To Date' and select a new 'From Date'. In this case, it requires three clicks to finish.

Maybe it is fine to directly select 'To Date' after selecting 'From Date' as long as we supply a straightforward way for user to change the selected date and telling what date (From or To) is being selecting.

Working on another strategy...

Halomaple commented 6 years ago

daterangepicker

Loop start - end focus unless user manually change it.

Halomaple commented 6 years ago

Can we merge this if the solution is acceptable?