Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataGrid] Issue while resizing with pinned columns #13548

Open
Janpot opened this issue Jun 19, 2024 · 1 comment
Open

[DataGrid] Issue while resizing with pinned columns #13548

Janpot opened this issue Jun 19, 2024 · 1 comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!

Comments

@Janpot
Copy link
Member

Janpot commented Jun 19, 2024

Steps to reproduce

Link to live example: https://mui.com/x/react-data-grid/column-pinning/#initializing-the-pinned-columns

Steps:

  1. Open the demo on the docs
  2. Hide the first center column
  3. Resize the first column smaller

Current behavior

At some point the pinned column starts moving to the left, leaving behind empty space. Once you let go of the mouse button, the pinned column snaps back to the right.

Screen.Recording.2024-06-19.at.14.59.28.mov

Expected behavior

The rightmost column always stays pinned during resizing

Context

No response

Your environment

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

Search keywords: pinned column resizing

@Janpot Janpot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jun 19, 2024
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Jun 19, 2024
@romgrk
Copy link
Contributor

romgrk commented Jun 19, 2024

Seems to be fixed by #12979, but that PR still has unsolved problems.

@romgrk romgrk added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants