[DateRangePicker] Dates jiggle when hovering over spacing fillers in first or last row #6511
Closed
2 tasks done
Labels
bug 馃悰
Something doesn't work
component: DateRangePicker
The React component.
plan: Pro
Impact at least one Pro user
Duplicates
Latest version
Current behavior 馃槸
When hovering over date spacing fillers in first or last row, the rest of the day/week containers jitter, shifting slightly, which causes an undesired side effect to hovering over the picker.
Expected behavior 馃
When hovering over the calendar, dates should not jitter around within the container. They should stay in position.
Steps to reproduce 馃暪
Link to live example:
Steps:
Here is a sandbox showing the behavior
Context 馃敠
I want to use the date range picker with 2 inputs, each containing either the start or end date. This is the same situation used in the Mui-X docs for basic date range picker usage. I've attempted to target the styles causing the problem and have had little success with overrides, but the event that causes the shifting is clear. The on hover event on the empty spaces adds a 1px border, shifting content downstream. I'm not sure what the 'correct' way to fix the problem is but thats where i would start looking
Your environment 馃寧
npx @mui/envinfo
Order ID 馃挸 (optional)
42126
The text was updated successfully, but these errors were encountered: