Why aren't edge dates marked as active as well? #646
-
Before you start - checklist
DescriptionI've this codesandbox which shows that when values are set to Why is this the case and shouldn't it be considered active as well? Steps to reproduceSteps in sandbox. Expected behaviorEdge dates to also be set as active. Actual behaviorSets them as Additional informationNo response Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is because your edge dates are in the middle of the day, so these days are only partially selected. If you set "date from" hour to 00:00:00.000 and "date to" hour to 23:59:59.999, they will be marked as fully selected. Please mind that this is just styling really - so you could just fix that in your CSS as well if you like it. I don't recommend that option though, as some accessibility features may be introduced in the future that will make this not entirely correct. |
Beta Was this translation helpful? Give feedback.
This is because your edge dates are in the middle of the day, so these days are only partially selected. If you set "date from" hour to 00:00:00.000 and "date to" hour to 23:59:59.999, they will be marked as fully selected.
Please mind that this is just styling really - so you could just fix that in your CSS as well if you like it. I don't recommend that option though, as some accessibility features may be introduced in the future that will make this not entirely correct.