Skip to content

[data grid] styling cells with extra padding breaks horizontal scroll limit #18190

Closed
@wilcoschoneveld

Description

@wilcoschoneveld

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/sandbox/cold-grass-tcf2t5
  2. Scroll all the way to the right
  3. Scroll even further with horizontal mouse wheel

Current behavior

Image
scrolls out of bounds

Expected behavior

scroll stays in bound

Context

Our design requires some additional padding in both the column headers and the grid cells compared to the default.

Your environment

see codesandbox

Search keywords: data grid cell padding

Order ID: 96051

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: data gridChanges or issues related to the data grid productsupport: pro standardSupport request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/type: bugA bug or unintended behavior in the components.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions