[Bug]: Breadcrumb - only "..." displayed for too long text item
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.
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.
I do have the same issue, when the breadcrumbitem text is too large, it's replaced with "..."
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?
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...
What do you mean by "too long" ? Is it always the same limit or does it depend on some factors (windows size, ...) ?
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 - 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.
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!