Skip to content

When changing column width table scrolls back to the top #1103

Open
@RedX2501

Description

@RedX2501

material-react-table version

2.12.1

react & react-dom versions

"react": "^18.2.0", "react-dom": "^18.2.0",

Describe the bug and the steps to reproduce it

In the virtualization example scroll anywhere and then resize a column.

It'll jump back to the top.

(I tried it out in the mantine react table and it's the same behavior there.)

Minimal, Reproducible Example - (Optional, but Recommended)

https://www.material-react-table.com/docs/examples/virtualized

Screenshots or Videos (Optional)

No response

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

No, because I do not know how

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

quoc-jordan-an

quoc-jordan-an commented on Sep 5, 2024

@quoc-jordan-an

+1

linked a pull request that will close this issue on Jun 9, 2025
felipehimself

felipehimself commented on Jul 14, 2025

@felipehimself

Same issue here, trying to fix this using debouncing but my solution still has some flaws

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @RedX2501@quoc-jordan-an@felipehimself

      Issue actions

        When changing column width table scrolls back to the top · Issue #1103 · KevinVandy/material-react-table