-
Notifications
You must be signed in to change notification settings - Fork 12
DateRangePicker: add ability to use predefined ranges #608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
8dab553
to
4b19865
Compare
Hey @hoorayimhelping , sorry for the late reply. I was wondering, could we do this instead? I realize you may need to make more than a simple change, but it would look better I think 🙂 ![]() |
4b19865
to
485cf73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work as always, @hoorayimhelping ! 🙌🏻
485cf73
to
e729692
Compare
e729692
to
93e7eae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work @hoorayimhelping!
a few comments
); | ||
})} | ||
</ScrollableContainer> | ||
<StyledDropdownItem onClick={handleCustomTimePeriodClick}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we show the calendar on hover?
less clicks
plus in general, I feel like I expect nested items in a dropdown to appear on hover rather than on click
cc @crisalbu
)} | ||
</PredefinedCalendarContainer> | ||
) : ( | ||
<CalendarRenderer calendarOptions={calendarOptions}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: this can be a variable, perhaps in a useMemo()
, to avoid repeating all the props in two places
Going on PTO next week, so I'll dismiss my request to unblock you
93e7eae
to
be605b8
Compare
2e7e761
to
8f9a533
Compare
Adds predefined ranges to
DateRangePicker
.maxRangeLength
futureStartDatesDisabled
, to disable start dates in the futurepredefined dates list
limit of 15 for
dateRangeLimit