[data grid] Decreasing the width of the last column in DataGridPro with pinned columns results in weird behaviour #10616
Labels
component: data grid
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
feature: Column pinning
Related to the data grid Column pinning feature
feature: Column resize
plan: Pro
Impact at least one Pro user
Steps to reproduce
Link to live example: https://codesandbox.io/s/dank-darkness-599h6y?file=/Demo.tsx
Steps:
Current behavior
When the column size is decreased, while dragging the mouse to adjust the width, the last unpinned column's width stays fixed and a gap appears between the last unpinned column and the first pinned column. After the
mouseup
event, everything gets back into its place and the gap disappears.Expected behavior
The last unpinned column's width should be fluid while dragging the mouse and take all the available space, or the pinned columns should move together with the other columns.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: resizing width pinned
Order ID: 53911
The text was updated successfully, but these errors were encountered: