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
Describe the bug
Since it's an assertion error, it's not super harmful, but in our application for example, it's possible to store a date, but not select a date that is before today. That means there is a possibility, for the calendar picker to be opened, where firstDay is today, and focusedDay is sometime in the past.
I'm not sure why this assertion is important, as the focused day shouldn't affect the logic of the selection of dates.
Expected behavior
The focused day is independant of the date selection behavior, as it could have occurred in the past, and the new date selection criteria does not depend on the focused date.
The text was updated successfully, but these errors were encountered:
Describe the bug
Since it's an assertion error, it's not super harmful, but in our application for example, it's possible to store a date, but not select a date that is before
today
. That means there is a possibility, for the calendar picker to be opened, where firstDay istoday
, andfocusedDay
is sometime in the past.I'm not sure why this assertion is important, as the focused day shouldn't affect the logic of the selection of dates.
Can we remove these kind of assertions?
Expected behavior
The focused day is independant of the date selection behavior, as it could have occurred in the past, and the new date selection criteria does not depend on the focused date.
The text was updated successfully, but these errors were encountered: