fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Pivot content moving because PivotItem width changes when selected

Open Fensterbank opened this issue 9 years ago • 2 comments

Bug Report

  • Package version(s): > 4.5.*
  • Browser and OS versions: any

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? No

Requested priority: Low

Describe the issue:

The width of a selected PivotItem differs from a unselected PivotItem. This results in a moving content when interacting with a Pivot component. Can be easily reproduced in the examples: http://dev.office.com/fabric#/components/pivot

It happens for all types, but the tab style example words "Foo", "Bar", "Baz" are too short to really see it.

Actual behavior:

Following PivotItems are moving when a PivotItem is selected or unselected.

Expected behavior:

All PivotItems should stay in the same position.

Fensterbank avatar Jul 05 '17 08:07 Fensterbank

@Fensterbank Thanks for reporting this issue.

atneik avatar Jul 05 '17 20:07 atneik

This should get addressed with this PR: https://github.com/OfficeDev/office-ui-fabric-core/pull/658

aadhars avatar Jul 10 '17 17:07 aadhars