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: Selecting a date needs 2 clicks #4757

Closed
RosteckMarius opened this issue Aug 9, 2023 · 1 comment
Closed

Calendar: Selecting a date needs 2 clicks #4757

RosteckMarius opened this issue Aug 9, 2023 · 1 comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Milestone

Comments

@RosteckMarius
Copy link

Describe the bug

When selecting a date in the calendar, only the second click sets a new date as value.

Reproducer

https://codesandbox.io/s/romantic-cherry-t7jydj

PrimeReact version

9.6.1

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Click on the calendar input field
  2. Click on a date (nothing should happen)
  3. Click on a date again (now the date gets selected)

Expected behavior

The date should be selected on the first click.

@RosteckMarius RosteckMarius added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 9, 2023
@melloware
Copy link
Member

Duplicate of #4568 already fixed for 10.0.0

@melloware melloware added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 9, 2023
@melloware melloware added this to the 10.0.0 milestone Aug 9, 2023
@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2023
@melloware melloware modified the milestones: 10.0.0, 9.6.2 Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants