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: onSelect event triggers date change #7121

Closed
manuel-bitcraft opened this issue Sep 6, 2024 · 0 comments · Fixed by #7155
Closed

Calendar: onSelect event triggers date change #7121

manuel-bitcraft opened this issue Sep 6, 2024 · 0 comments · Fixed by #7155
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@manuel-bitcraft
Copy link

Describe the bug

the onSelect callback is triggering a date change when browsing the calendar, specifically to the first of the month

Reproducer

https://stackblitz.com/edit/rvuljb?file=src%2FApp.jsx

System Information

System:
    OS: Windows 10 10.0.19045
    CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
    Memory: 480.64 MB / 15.85 GB
  Binaries:
    Node: 18.20.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 128.0.6613.115
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    primereact: ^10.8.2 => 10.8.2
    react: ^18 => 18.2.0
    tailwindcss: ^3.3.0 => 3.4.1

Steps to reproduce the behavior

No response

Expected behavior

date should not change

@manuel-bitcraft manuel-bitcraft added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 6, 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 Sep 7, 2024
@melloware melloware added this to the 10.8.3 milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants