primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.6k stars 4.62k forks source link

Month selected issue in the p-calendar component #16837

Open rdiaz-acium opened 16 hours ago

rdiaz-acium commented 16 hours ago

Describe the bug

When you select a date and want to select another one going first to the year and then to the month, the previous year appears selected with its background but the month does not

Environment

Screenshot 2024-11-25 100435

Reproducer

No response

Angular version

17.3.12

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

ES5

Node version (for AoT issues node --version)

20.9.0

Browser(s)

Chrome 131.0.6778.86

Steps to reproduce the behavior

  1. Select any date.
  2. Select another date starting with the year.
  3. Now go to month selection.

Expected behavior

The previous month should be displayed as selected