Skip to content

Pinned column glitches when resizing #1454

Open

Description

@miraajkadam

material-react-table version

3.2.0

react & react-dom versions

18.2.0

Describe the bug and the steps to reproduce it

When resizing a pinned column that has another pinned column to its right, the second column gets stuck when the first column is shrunk.

Steps to Reproduce -

  1. Create a table with at least two resizable pinned columns.
  2. Try resizing the first pinned column.
  3. While shrinking the first column, notice that the second pinned column glitches and gets stuck.

Minimal, Reproducible Example - (Optional, but Recommended)

Sandbox - https://codesandbox.io/p/sandbox/ysfx3r

Screenshots or Videos (Optional)

MRT.pinned.column.resize.issue.mp4

Do you intend to try to help solve this bug with your own PR?

Maybe, I'll investigate and start debugging

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Activity

  1. Basnor commented on Oct 6, 2025

    @Basnor

    same

  2. Sanil-ps commented on Oct 15, 2025

    @Sanil-ps

    another issue

    Image

    colum pinned to right is not working, there is a white space avilable for the second column

    i got solution:
    Add this global override once in your app (e.g. index.css)

    .MuiTableCell-root[data-pinned="true"] {
    background-color: #fff !important;
    opacity: 1 !important;
    z-index: 10 !important;
    }
    .MuiTableCell-head[data-pinned="true"] {
    background-color: #f5f5f5 !important;
    z-index: 11 !important;
    }

    Root Cause (MUI v6 + MRT v3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions