Skip to content

DetailsList header and rows exceeds DetailsList #5857

@mslonli

Description

@mslonli

Bug Report

  • Package version(s): (fill this out) 6.41.1
  • Browser and OS versions: (fill this out if relevant)

Priorities and help requested:

Are you willing to submit a PR to fix? (Yes, No) If I have time
Requested priority: (Blocking, High, Normal, Low) High

Products/sites affected: (if applicable)

Describe the issue:

The width of DetailsList header and rows exceeds the width of the entire DetailsList

Actual behavior:

The width of DetailsList header and rows exceeds the width of the entire DetailsList

Expected behavior:

The width of header and rows should be the same as the width of the DetailsList

If applicable, please provide a codepen repro:

https://codepen.io/anon/pen/rrQMOx?editors=1111
It doesn't clearly reproduce on codepen. Please check the screenshot attached here.
I did some triage and I found the width GroupSpacer in the header and rows might be the root cause.
If I decrease the width of the GroupSpacer the issue get fixed. We calculate the width of GroupSpacer by groupNestingDepth. I think this part causes the issue.

issue

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions