Skip to content

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

@nikhilmaurya-21

Description

@nikhilmaurya-21

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions