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 - viewDate props - event is null #6557

Closed
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@spo-ijaz
Copy link

spo-ijaz commented May 3, 2024

Describe the bug

Hello,

I think the PR #6422 is probably breaking the viewDate Calendar props.

The issue is not present with PrimeReact v10.6.3

I made a quick example on CodeSandbox where you can see the issue.

Thanks.

Reproducer

https://codesandbox.io/p/sandbox/gracious-cherry-9qfr28?file=%2Fsrc%2FApp.tsx

PrimeReact version

10.6.4

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Open the calendar.
  2. Select a date.

Expected behavior

No response

@spo-ijaz spo-ijaz 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 3, 2024
@melloware
Copy link
Member

Cc @Rekl0w

@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 May 3, 2024
@melloware melloware added this to the 10.6.5 milestone May 3, 2024
@melloware
Copy link
Member

Please try 10.6.5

@spo-ijaz
Copy link
Author

spo-ijaz commented May 3, 2024

Hi @melloware , @Rekl0w,

I just updated my project with this new version and, yes, no more error, bug fixed.

Thanks a lot for this really quick fix !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment