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

Bug: week-range in range-picker gets highlighted wrongly #7596

Open
1 task done
mrjln opened this issue May 23, 2024 · 0 comments
Open
1 task done

Bug: week-range in range-picker gets highlighted wrongly #7596

mrjln opened this issue May 23, 2024 · 0 comments

Comments

@mrjln
Copy link

mrjln commented May 23, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.1

Environment

Chrome, vue ^3.4.15, Version 1.65.126 Chromium: 124.0.6367.118 (Officiële build) (arm64)

Reproduction link

https://antdv.com/components/date-picker

Steps to reproduce

When you go to your own docs and select the week-range picker: select a range of 3 weeks.
You notice that the weeks you select do not get highlighted correctly.
The weeks do get selected correctly in the inputfield.

Example 1 : week 19 - 21 selected and only week 22 is highlighted:
image

Example 2: week 24- week 26 selected, a week range within 1 month, also does not get highlighted correctly:
image

What is expected?

I expect the range to be highlighted, like it is in the normal range picker

What is actually happening?

a whole other week is highlighted or just 1 week is highlighted.


@mrjln mrjln changed the title Bug: week-range in range-picker gets highlighted wrong Bug: week-range in range-picker gets highlighted wrongly May 23, 2024
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