Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Not able to change the color of selected date and its range #2604

Closed
BraveEvidence opened this issue Nov 25, 2024 · 0 comments
Closed

Not able to change the color of selected date and its range #2604

BraveEvidence opened this issue Nov 25, 2024 · 0 comments

Comments

@BraveEvidence
Copy link

Thanks for reporting a bug for DayPicker. Please provide here a brief description of the issue you’ve encountered.

To reproduce

https://codesandbox.io/p/sandbox/daypicker-bug-report-forked-yqxffx

Here is the code

import { DayPicker } from "react-day-picker";
import "react-day-picker/style.css";

export default function App() {
  return  <DayPicker
            mode="range"
            disabled={{
              after: new Date(),
            }}
          />;
}

Actual Behavior

I don't know how to change the color of the date which has been picked as well as the range which has been picked

Expected Behavior

Should be able to change color of the date which has been picked as well as the range which has been picked

Screenshots

Screenshot 2024-11-25 at 7 17 14 PM

Check the above screenshot, the background color of the selected date is blue and the range is light blue, how to change this color?

Repository owner locked and limited conversation to collaborators Nov 25, 2024
@gpbl gpbl converted this issue into discussion #2605 Nov 25, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant