fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: Breadcrumb - only "..." displayed for too long text item

Open nataaad opened this issue 4 years ago • 7 comments

Library

React / v7 (@fluentui/react)

System Info

System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 5.08 GB / 15.86 GB
  Browsers:
    Chrome: 103.0.5060.114
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.62)
    Internet Explorer: 11.0.22000.120

Are you reporting Accessibility issue?

no

Reproduction

https://codepen.io/nataaad/pen/eYMgaNp

Bug Description

Actual Behavior

When text is too long, only "..." are displayed. image https://codepen.io/nataaad/pen/eYMgaNp

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

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

nataaad avatar Jul 18 '22 08:07 nataaad

I do have the same issue, when the breadcrumbitem text is too large, it's replaced with "..."

ackermannQ avatar Jul 20 '22 06:07 ackermannQ

I also encountered this issue. I tried to override the component but it did not work... In the meantime, did you find any workaround to avoid it?

sachacha avatar Jul 25 '22 10:07 sachacha

I also encountered this issue. I tried to override the component but it did not work... In the meantime, did you find any workaround to avoid it?

No, I did not find a workaround...

nataaad avatar Jul 25 '22 11:07 nataaad

What do you mean by "too long" ? Is it always the same limit or does it depend on some factors (windows size, ...) ?

Toniotoniotonio avatar Jul 25 '22 12:07 Toniotoniotonio

What do you mean by "too long" ? Is it always the same limit or does it depend on some factors (windows size, ...) ?

It seems that it depends on the size of the window.

nataaad avatar Aug 12 '22 14:08 nataaad

@nataaad - Thanks for filing this issue. I see you stated the issue is in v8 but the codePen you shared is using v7. Have you tried this in the later version (v8)? You can start from one of the breadcrumb examples (click “Export to CodePen”). Could you confirm the version and retest and get back to us.

gouttierre avatar Aug 16 '22 10:08 gouttierre

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fluent UI!

msft-fluent-ui-bot avatar Aug 20 '22 11:08 msft-fluent-ui-bot