You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The date picker in Calendar component requires two clicks to close after a date has been inputted. This behavior is observed under the following conditions:
After typing in a date in the date input field, the date picker reflects the selected date as expected.
However, when trying to close the date picker, the user needs to click twice before it actually closes.
Reproducer
No response
System Information
primereact: 10.8.5
react: 18.2.0
Steps to reproduce the behavior
Click on the date input so that the input field is focused
Type in any valid date, the date picker shows the correct date
Click on the highlighted date on the date picker once (the date picker should close here but it doesn't)
Click on the highlighted date again on the date picker to close the picker
Expected behavior
Expected behaviour would be that once the date is typed in the input field and the date picker highlights correct date, we should be able to close the date picker by just clicking once on the highlighted date instead of twice.
It seems like once the input field is focused, we require two clicks, one to unfocus the input field and then the second one to select the date on date picker which is not the right behaviour.
The text was updated successfully, but these errors were encountered:
melloware
changed the title
Date Picker Requires Two Clicks to Close After Inputting Date
Calendar: Requires Two Clicks to Close After Inputting Date
Jan 16, 2025
Describe the bug
The date picker in Calendar component requires two clicks to close after a date has been inputted. This behavior is observed under the following conditions:
After typing in a date in the date input field, the date picker reflects the selected date as expected.
However, when trying to close the date picker, the user needs to click twice before it actually closes.
Reproducer
No response
System Information
Steps to reproduce the behavior
Expected behavior
Expected behaviour would be that once the date is typed in the input field and the date picker highlights correct date, we should be able to close the date picker by just clicking once on the highlighted date instead of twice.
It seems like once the input field is focused, we require two clicks, one to unfocus the input field and then the second one to select the date on date picker which is not the right behaviour.
The text was updated successfully, but these errors were encountered: