Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.96k stars 2.23k forks source link

Selected date highlighted in other months #2921

Open abiessener opened 3 years ago

abiessener commented 3 years ago

Selected date is highlighted in every month in the calendar. Visible even in examples on https://reactdatepicker.com/.

Probably something simple. Might take a hack myself at a fix this weekend if I have time.

react-datepicker-bug

msteenkamp-cx commented 3 years ago

Any updates on this bug? It makes the date-picker very confusing to use when switching between months!

apepper commented 3 years ago

The issue is probably, that react-datepicker__day--keyboard-selected looks too similar to the actually selected day.

samuelkilada commented 3 years ago

Yes, the styles are much too similar. It is intended to show what is highlighted via the keyboard. I changed mine to:

.react-datepicker .react-datepicker__day--keyboard-selected { background-color: transparent; }

This causes it to not show up unless you start using the keyboard, in which case the black outline appears around the selected item. This may not work for everyone, though.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

apepper commented 2 years ago

This issue is not yet resolved!

gcko commented 11 months ago

Agreed, this has not been fixed and should be addressed

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.

jaredterm commented 2 months ago

still not addressed~~