Skip to content
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

Datetime controls: possibility to highlight "today" in the calendar #3583

Closed
marcoponticelli opened this issue Jun 4, 2019 · 3 comments · Fixed by #3628
Closed

Datetime controls: possibility to highlight "today" in the calendar #3583

marcoponticelli opened this issue Jun 4, 2019 · 3 comments · Fixed by #3628

Comments

@marcoponticelli
Copy link

marcoponticelli commented Jun 4, 2019

Environment

  • Package version(s): v3
  • Browser and OS versions: Chrome 74.0.3729.169

Feature request

possibility to show "today" highlighted in the various date pickers.
Even when the date field is not yet evaluated.
The image below shows how I would like to see the date selector if today was June 7th 2019 and the "HighlightToday" property was active:
wanted
the image below shows how I would like to see the date picker if the "HighlightToday" property is not active:
actual

thanks!

@adidahiya
Copy link
Contributor

Seems like a reasonable request. I think it could easily be achieved by adding some styles to the class which react-day-picker is already adding (as a "modifier") to the current date in the calendar. I would call the new prop highlightCurrentDay.

Any thoughts from a design perspective @pkwi?

@pkwi
Copy link
Contributor

pkwi commented Jun 7, 2019

+1 here. style wise this could be a simple outline using divider-black and dark-divider-white

Screen Shot 2019-06-07 at 11 12 13

Screen Shot 2019-06-07 at 11 18 03

@marcoponticelli
Copy link
Author

Nice, I like it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants