You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#623 implements the new date range picker. There is room for improvement there, though:
It's now possible to navigate on left calendar to a date past the date on right calendar. This results in a misleading UX, as the range is not displayed "chronologically" :
Solution would be to disable the calendar navigation arrows conditionally.
Minimal date prop. This would disallow navigating to or selecting dates before a specific date. Use case: organization establishment as a minimal date for filtering transactions.
Hovering style for dates, like on airbnb date picker. This would give more feedback to the user.
First day of week prop. As of now it's Sunday (USA locale). It'd be nice to be able to override that and set e.g. Monday as the week start date.
onChange vs. onApply props. Now the change handler is called when "Apply" button is clicked. It might be useful though to have a quicker date picker, without such button, that would call a change handler after both dates were selected (as airbnb date picker does)
Mobile version - in a modal, so it can safely take up the whole screen space
#623 implements the new date range picker. There is room for improvement there, though:
It's now possible to navigate on left calendar to a date past the date on right calendar. This results in a misleading UX, as the range is not displayed "chronologically" :
Solution would be to disable the calendar navigation arrows conditionally.
Minimal date prop. This would disallow navigating to or selecting dates before a specific date. Use case: organization establishment as a minimal date for filtering transactions.
partial
prop. Issue DateRange: Support partial ranges #514 - assume a start/end date if only one is picked.Hovering style for dates, like on airbnb date picker. This would give more feedback to the user.
First day of week prop. As of now it's Sunday (USA locale). It'd be nice to be able to override that and set e.g. Monday as the week start date.
onChange
vs.onApply
props. Now the change handler is called when "Apply" button is clicked. It might be useful though to have a quicker date picker, without such button, that would call a change handler after both dates were selected (as airbnb date picker does)Mobile version - in a modal, so it can safely take up the whole screen space
cc @bpierre @dizzypaty
The text was updated successfully, but these errors were encountered: