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

Week number is highlighted when on first day of the week navigating using arrow keys #5200

Closed
Grisu118 opened this issue Oct 29, 2024 · 1 comment · Fixed by qburst/react-datepicker-3#37 or #5232

Comments

@Grisu118
Copy link

Describe the bug
Week number gets highlighted when selecting the first day of the week with arrow keys, but not when selecting any other day of the week.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://reactdatepicker.com/#example-display-week-numbers
  2. Open the datepicker
  3. Navigate within with the arrow keys
  4. See error

Expected behavior
Either the week is always highlighted or never. The current behaviour seems to be weird

Screenshots
grafik
grafik

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser: Firefox / Chromium
  • Version Latest

Additional context
There was already a similar issue: #4489

@OlegDev1
Copy link
Contributor

We need to known in which cases the week should or shouldn't be highlighted. Could you please help with this, @martijnrusschen? Or, if possible, could you mention another contributor responsible for this?

I can work on PR for this issue and write necessary test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment