[DateRangePicker] Change open trigger to onMouseDown
#10110
Labels
component: DateRangePicker
The React component.
component: pickers
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
on hold
There is a blocker, we need to wait
Created from #9386 (comment)
Range pickers do open when clicked on the
input
element rather than the open button as the regular pickers.The input element has its own behavior when it is
moused down
(the input focuses and the active section is selected), but the opening of the picker happens only when the click action is finished on the input.The proposal is to use
onMouseDown
as the trigger to opening the range picker popper to increase the responsiveness and avoid this double effect of one behavior when input is moused down and another when the click is completed.The text was updated successfully, but these errors were encountered: