Skip to content
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

Set selecting classes to the days when set swapRange prop #5258

Open
ilchenkoArtem opened this issue Dec 3, 2024 · 1 comment
Open

Set selecting classes to the days when set swapRange prop #5258

ilchenkoArtem opened this issue Dec 3, 2024 · 1 comment

Comments

@ilchenkoArtem
Copy link

ilchenkoArtem commented Dec 3, 2024

Is your feature request related to a problem? Please describe.
I want to style range selection with both directions, but days don't have selecting classes with swapRange prop.
How to reproduce:

  1. Set selectsRange and swapRange properties
  2. Select 25 December 2024 first
  3. Try to hover to the date less is selected.
  4. Days which include to the range don't have selecting classes

Selecting classes: react-datepicker__day--in-selecting-range , react-datepicker__day--selecting-range-start , react-datepicker__day--selecting-range-end

Describe the solution you'd like
Days should have the selecting classes with swapRange propery

@lexfoxer
Copy link

Duplicate #3265

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

2 participants