primefaces / primefaces/primereact

Calendar: Infinite requests on changing time

Open
#8,414 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Needs Triage
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When using showTime and disabled, Calendar repeats an async request.

Reproducer

https://stackblitz.com/edit/vitejs-vite-2dwbgufr?file=src%2FApp.jsx

System Information
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
Binaries:
  Node: 20.19.1 - /usr/local/bin/node
  Yarn: 1.22.19 - /usr/local/bin/yarn
  npm: 10.8.2 - /usr/local/bin/npm
  pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
  primereact: ^10.9.7 => 10.9.7 
  react: ^19.2.0 => 19.2.0
Steps to reproduce the behavior
  1. Click the Calendar input (show Calendar overlay.).
  2. Change the time.
Expected behavior

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the linked StackBlitz reproducer and follow the Calendar interaction after opening the overlay and changing the time. Confirm which async request repeats and compare the behavior with the showTime and disabled options. Done means changing the time no longer causes an infinite request loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.