Skip to content

[Bug]: Breadcrumb - When using long text, only "..." is displayed #24938

@Toniotoniotonio

Description

@Toniotoniotonio

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 2.37 GB / 7.94 GB
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (105.0.1343.50)
    Internet Explorer: 11.0.19041.1566

Are you reporting Accessibility issue?

No response

Reproduction

https://codepen.io/toniotoniotonio/pen/ZEoapKR

Bug Description

Actual Behavior

I took the example "Breadcrumb rendering options" from FluentUI breadcrumb examples.
I replaced a "Folder 5" by a very long text, and only "..." are displayed (we don't see anymore the text of the other folders).
image

https://codepen.io/toniotoniotonio/pen/ZEoapK

Expected Behavior

At least one item should be displayed even if it is truncated.

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions