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
I noticed that while using date range for one datepicker, if a user selects a date (let's say March 7th), the datepicker automatically highlights the next month's date (April 7th). Even after selecting an endDate, April 7th is still highlighted.
It seems like the state preSelection is causing this behavior. Ideally, April 7th would not be highlighted at all.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all,
I noticed that while using
date range for one datepicker
, if a user selects a date (let's say March 7th), the datepicker automatically highlights the next month's date (April 7th). Even after selecting an endDate, April 7th is still highlighted.It seems like the state
preSelection
is causing this behavior. Ideally, April 7th would not be highlighted at all.Is there a way to disable this?
Beta Was this translation helpful? Give feedback.
All reactions