primefaces / primefaces/primereact
Calendar: Time picker doesn't change on mouse holding down
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the Calendar component's time picker, the up/down buttons don't change the time continuously on mouse holding down.
Reproducer
No response
System Information
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 15.34 GB / 31.84 GB
Binaries:
Node: 24.15.0 - C:\Program Files\nodejs\node.EXE
npm: 11.12.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 149.0.7827.103
Edge: Chromium (140.0.3485.54)
Firefox: 151.0.4 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.19041.5794
npmPackages:
primereact: ^10.9.8 => 10.9.8
react: ^19.0.0-rc.1 => 19.2.7
tailwindcss: ^4.3.0 => 4.3.0
Steps to reproduce the behavior
- Hold down mouse on the up/down buttons once - time changes continuously as expected
- Release mouse button
- Hold down mouse on the buttons again, now the time won't change while holding down on the button
Expected behavior
Time should change continuously while holding down the mouse on the up/down buttons. Same thing happens on the documentations demo ( https://primereact.org/calendar/#time ). Tried on both Firefox and Chrome.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Calendar component's time-picker up/down button handlers and reproduce the issue by holding, releasing, and holding again in the documented Calendar demo. Verify that repeated holds continue changing the time after the first interaction, including in both Chrome and Firefox.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100