Skip to content

[data grid] Scroll jumps if column header is focused and columns flicker when scrolling #19320

@lauri865

Description

@lauri865

Steps to reproduce

Steps 1/2:

  1. Open this link to live example: https://mui.com/x/react-data-grid/#pro-version
  2. Focus e.g. Sub Total column header
  3. Scroll left until sub total is out of the viewport, scroll slowly back, all columns flicker

Steps 2/2:

  1. Open this link to live example: https://mui.com/x/react-data-grid/#premium-version
  2. Focus the Sub Total column header
  3. Scroll fully to the left
  4. Witness the scroll jump back

Current behavior

No response

Expected behavior

No response

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: flicker scroll jump

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: Rendering layoutRelated to the data grid Rendering enginescope: data gridChanges related to the data grid.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions