primefaces/primereact

Calendar: Overlay arrow navigation through days is problematic

Open

#7928 opened on Apr 22, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)CSS (8,305 stars) (1,207 forks)batch import
Component: Accessibilitygood first issue

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