primefaces / primefaces/primereact

Calendar: Overlay arrow navigation through days is problematic

Open
#7,928 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Accessibility good first issue
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When I navigate through the days in calendar overlay, as soon as I am on the last day of the row and I press "ArrowRight", I am prompted to the next month instead of going to the next arrow.

Reproducer

No response

System Information
"primereact": "10.9.4"
"react": "19.1.0",=
Steps to reproduce the behavior
  1. Focus calendar input to open overlay
  2. Focus any day of the week
  3. Navigate through arrow keys all the way to the left / right
  4. Press the arrow key once again
  5. You are now on the previous / next month instead of previous / next row

Image

Image

Expected behavior

In this situation I expect to go to the next / previous row instead of month. This is the normal UX everyone expects, which is implemented in all the available datepickers out there for MUI, Aria, etc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Calendar overlay's keyboard navigation and reproduce the ArrowLeft/ArrowRight behavior at the ends of a week row using the listed steps. Trace how focus moves between days and months, then verify that reaching a row boundary moves to the adjacent row without changing the month unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.