mi6 / mi6/ic-ui-kit

Internal issue 3239 - ic-breadcrumb doesn't fully support reflow

Open
#4,458 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

a11y breadcrumb component good first issue
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

When the breadcrumb page title is too long to fit on the screen, the breadcrumb moves to the line below but, if it still doesn’t fit on the screen, it doesn’t compress any further.

It would be nice if really long breadcrumbs used ellipsis truncation in this case so we can be certain they won’t cause horizontal scrolling. Here’s an example of some long breadcrumbs overflowing and causing horizontal scrolling:

[https://stackblitz.com/edit/rhp9bmdn?file=src%2Fapp.tsx&hideExplorer=1|https://stackblitz.com/edit/rhp9bmdn?file=src%2Fapp.tsx&hideExplorer=1]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the overflow in the linked StackBlitz app.tsx and then locate the ic-breadcrumb component entry point in the repository. The work is done when long breadcrumb titles reflow or truncate with an ellipsis without causing horizontal scrolling.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.