Closed olegshilov closed 3 years ago
I think this is an intentional choice in the design system and we don't necessarily want to add a prop to customize this behavior without a strong need for it. The hover interaction helps preview what the input will look like once you click on a date.
@adidahiya ok, I understood. But what about adding onHoverChange
to DateInput
?
@olegshilov what will you use that for? Can you explain your use case in more detail?
As you mentioned above, for example for this (=
The hover interaction helps preview what the input will look like once you click on a date.
@olegshilov yes, that "preview" is built into the component behavior already. So I'm asking what would you use the prop for outside the component? It helps to share more context about your use case.
Environment
Feature request
Hi, I have a small suggestion about date inputs. I can’t find any way to disable changing input value on date range hover right now. Maybe it would be better if
onHoverChange
behavior can be optional forDataRangeInput
. As well as maybe it would be cool to addonHoverChange
effect toDateInput
where is not working for nowExamples
I think it should be something like this