Skip to content

Breadcrumb always shows last item as active regardless of route #5513

@tmlmt

Description

@tmlmt

Environment

  • Operating System: Linux
  • Node Version: v20.19.1
  • Nuxt Version: 4.2.1
  • CLI Version: 3.30.0
  • Nitro Version: 2.12.9
  • Package Manager: npm@10.8.2
  • Builder: -
  • User Config: compatibilityDate, devtools, modules, css
  • Runtime Modules: @nuxt/ui@4.2.1
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.2.1

Reproduction

https://stackblitz.com/edit/github-qicpkhz9

Description

The docs presents the Breadcrumb component as to be used "to show the current page's location in your site's hierarchy"

But it always shows the last item as active regardless of the current route

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions