[pickers] disable autofocus to start when selecting end-range #13550
Labels
component: date range picker
This is the name of the generic UI component, not the React module!
component: pickers
This is the name of the generic UI component, not the React module!
status: waiting for author
Issue with insufficient information
support: commercial
Support request from paid users
support: pro standard
Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/
The problem in depth
Hello,
I want to stop DateRangeCalendar from jumping to start/end of the range after a selection.
Basicly, I would like the calendar to stay where it was before the selection ended and prevent the auto-focus on the new selection.
For example: when you select a start date from 3 month ago, then select today as the end date, it will jump back to the start position.
I saw that you supply the prop
disableAutoMonthSwitching
but it either not matching my case or it has some issues with DateRangeCalendar. It didn't work for me.I might should point out that the component is controlled.
I would really appreciate your help with this.
Thanks
Your environment
`npx @mui/envinfo`
Search keywords: disableAutoMonthSwitching, jump
Order ID: 91552
The text was updated successfully, but these errors were encountered: