Skip to content

Conversation

@samuelmtimbo
Copy link
Contributor

Pull request checklist

  • Include a change request file using $ npm run change

Description of changes

Regarding the Breadcrumb component:

Currently, all overflowed items will be collapsed in the start of the list, like in the following image:

screen shot 2018-04-18 at 5 19 20 pm

This PR adds the option of collapsing overflowed items into a position other than the first one through a new overflowIndex prop, like in the following image:

screen shot 2018-04-18 at 5 19 30 pm

Can you take a look at this? @dzearing @cschleiden

@dzearing dzearing merged commit 775e1f5 into microsoft:master Apr 19, 2018
@samuelmtimbo samuelmtimbo deleted the breadcrumboverflowindex branch April 19, 2018 17:18
Markionium added a commit to Markionium/office-ui-fabric-react that referenced this pull request Apr 19, 2018
* master:
  Applying package updates.
  ComboBox: Add any event as additional parameter to onChanged callback for saving pending changes (microsoft#4594)
  Remove usage of Number.NaN (microsoft#4615)
  Update createRef to match the new React 16.3 api (microsoft#4598)
  Update Breadcrumb.base.tsx
  Fix minor typos (microsoft#4607)
  Remove unused variables and enable no-unused-variable (microsoft#4608)
  Add optional overflowIndex prop to Breadcrumb (microsoft#4609)
  Applying package updates.
  Reenable bundlesize in yaml (microsoft#4590)
  Fix more index imports (microsoft#4604)
@ThomasMichon
Copy link
Member

This change produced a regression: #4663. We need to make sure _validateProps does not fail when the defaultProps are used to construct the component.

@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants