Skip to content

bug: Calendar disabled dates show hover effect #4253

Description

@sulimanbenhalim

Reproduction URL (Required)

https://daisyui.com/components/calendar/

What version of daisyUI are you using?

v5.4.5

Which browsers are you seeing the problem on?

No response

Describe your issue

The Problem

When using react-day-picker, disabled dates still show the hover background color
Makes them look clickable when they're not

How to Reproduce

import { DayPicker } from "react-day-picker"

<DayPicker
  mode="single"
  disabled={{ from: new Date(2000, 0, 1), to: new Date() }}
/>
Image

Hover over any disabled (past) date - it shows the hover background!

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