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
Reopen popout and and see page for 'Nov 2022' (Note: The year here is also incorrect! It correct if you click into the year selector however...)
Alternatively
Immediately click button to change date to '2023-11-01'.
Open popout, see page is still 'Oct 2022'.
Expected behavior
If have not opened out the popout previously then it should open at the value that the date is currently set to, not the one that was set when initialised.
Problem is relevant when a minDate has been set, as it then opens up at an invalid date. If using custom datePickers this is a poor experience.
The text was updated successfully, but these errors were encountered:
Probably clearer to move the date away from the month crossover, have changed to the 3rd for clarity.
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
Oct 28, 2022
Describe the bug
Depending on the order of
Either the new date or the old date is shown.
Reproducer
https://codesandbox.io/s/focused-cloud-3w73if?file=/src/demo/CalendarDemo.js:1442-1452
PrimeReact version
8.6.0
React version
17.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Alternatively
Expected behavior
If have not opened out the popout previously then it should open at the value that the date is currently set to, not the one that was set when initialised.
Problem is relevant when a minDate has been set, as it then opens up at an invalid date. If using custom datePickers this is a poor experience.
The text was updated successfully, but these errors were encountered: