Skip to content

Breadcrumb (StepNav) labels are cut off at 10rem with no way to read the full text #18878

Closed

Description

@RafalFilipek

Describe the Bug

packages/ui/src/elements/StepNav/index.css caps every .step-nav__item except the last at calc(var(--spacer-6) * 4) (10rem) with text-overflow: ellipsis. Collection or document labels slightly longer than that are cut off, and the full text is not shown anywhere: there is no tooltip or title, and the item cannot be expanded.

Expected:

The full label can be read, e.g. on hover.

Actual:

The breadcrumb shows "Komponenty współdz…", and hovering shows nothing.

Link to the code that reproduces this issue

https://github.com/RafalFilipek/payload/tree/fix/ui-step-nav-truncated-labels

This branch has the proposed fix (a title with the full label on each breadcrumb item) and a component test that fails without it.

Reproduction Steps

  1. A collection with labels: { singular: 'Komponent współdzielony', plural: 'Komponenty współdzielone' } (or any plural label wider than about 10rem).
  2. Open a document in that collection.
  3. Look at the breadcrumb in the app header and hover the collection item.

Which area(s) are affected?

area: ui

Environment Info

Payload 4.0.0-beta.2, also main at c2c9143de8

Generated by Claude Code

Activity

  1. RafalFilipek commented on Oct 28, 2026

    @RafalFilipek
    ContributorAuthor

    Fixed by #19005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Bugarea: uicreated-by: Contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions