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
Observe the range picker component without the showTime property enabled.
Attempt to select a date range by clicking once on the start date and once on the end date. Note that the selection process requires only two clicks to select both dates.
Enable the showTime property on the range picker component.
Repeat step 3 by attempting to select a date range by clicking once on the start date and once on the end date.
Observe that the selection process now requires two clicks on each date to select both the date and the time, resulting in a total of four clicks to complete the selection of the date range.
Currently when the user select date by clicking once, UI doesn't show correctly that date preselected until time is picked.
What is expected?
Single click on range picker dates working with and without showTime property.
What is actually happening?
Double-click with the showTime property on dates only select dates.
Environment
Info
antd
5.16.2
React
react
System
mac os, ubuntu, windows
Browser
chrome, safari, arc
The text was updated successfully, but these errors were encountered:
It's by design. Year/Month/Date Picker could be certain the selection finish when click the cell but the DateTime date click is not the end.
If you don't want user select time but only show the time in format, just use format instead:
Reproduction link
Steps to reproduce
Currently when the user select date by clicking once, UI doesn't show correctly that date preselected until time is picked.
What is expected?
Single click on range picker dates working with and without showTime property.
What is actually happening?
Double-click with the showTime property on dates only select dates.
The text was updated successfully, but these errors were encountered: