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

Calendar: onMonthChange callback works incorrectly #6666

Closed
galimovkirill opened this issue May 24, 2024 · 0 comments · Fixed by #6799 or leoo1992/GeradorQRCode#57 · May be fixed by nhattpn/BTL_LTNC#56
Closed

Calendar: onMonthChange callback works incorrectly #6666

galimovkirill opened this issue May 24, 2024 · 0 comments · Fixed by #6799 or leoo1992/GeradorQRCode#57 · May be fixed by nhattpn/BTL_LTNC#56
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@galimovkirill
Copy link

Describe the bug

I expect that onMonthChange callback will be executed by clicking on arrow buttons for selecting next/prev month.
In fact, it executes only by changing month in specific dropdown (by clicking on button with current month).

Reproducer

https://codesandbox.io/p/devbox/objective-lena-ypxjyy?file=%2Fsrc%2FApp.tsx%3A13%2C16

PrimeReact version

10.6.5

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@galimovkirill galimovkirill added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 24, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jun 26, 2024
@melloware melloware added this to the 10.7.0 milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment