Skip to content

Highlight current date when selecting another date in the calendar #767

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

Open
nikhilmaurya-21 opened this issue Oct 21, 2024 · 0 comments
Open

Comments

@nikhilmaurya-21
Copy link

When using the calendar component, I noticed that the current date becomes visually indistinguishable when another date is selected. It would be helpful if the current date was highlighted or styled differently, even when a different date is chosen, to provide a clear indication of today's date.

Expected Behavior:

  • The current date should have a distinct style (e.g., different color, border, or background) that persists, regardless of whether another date is selected.
  • When the user selects another date, the selected date should still be highlighted, but the current date should remain visually distinct from other dates.

Steps to Reproduce:

  1. Open the calendar.
  2. Select any date other than the current date.
  3. Observe that the current date is no longer visually highlighted, making it difficult to identify.

Proposed Solution:

  • Add a distinct style (such as a different color or border) for the current date, which remains visible even when another date is selected.
  • Ensure that the selected date and the current date have separate visual indicators to avoid confusion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant