primefaces / primefaces/primereact
Calendar: Overlay arrow navigation through days is problematic
Nobody has claimed this yet.
- 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
- Focus calendar input to open overlay
- Focus any day of the week
- Navigate through arrow keys all the way to the left / right
- Press the arrow key once again
- You are now on the previous / next month instead of previous / next row
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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