mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
3.9k stars 1.19k forks source link

[data grid] Column resizing doesn't work from group #13247

Open oliviertassinari opened 1 month ago

oliviertassinari commented 1 month ago

Steps to reproduce

Link to live example: (required)

Steps:

  1. Open https://mui.com/x/react-data-grid/column-groups/#define-column-groups
  2. Try to resize the column group

https://github.com/mui/mui-x/assets/3165635/e82b536e-ce40-42d6-9d13-a75ea71a50f3

Current behavior

Can't resize

Expected behavior

Can resize

Context

It was clearer in v6, at least it wouldn't give the end-users visual clue that it's possible to resize: https://codesandbox.io/p/sandbox/distracted-mahavira-zx7924?file=%2Fsrc%2FDemo.tsx%3A12%2C30. I suspect it got regressed on in https://github.com/mui/mui-x/pull/12420/files#r1614695294.

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: -

michelengelen commented 1 month ago

Have added it to the board! 👍🏼

cherniavskii commented 2 weeks ago

Indeed, it's a regression comparing to v6: https://codesandbox.io/p/sandbox/shy-dream-p5qgk6