Skip to content

Navigation menu active item broken in vertical orientation #5460

@patriktoth67

Description

@patriktoth67

Environment

  • Operating System: Windows_NT
  • Node Version: v22.17.0
  • Nuxt Version: 4.2.1
  • CLI Version: 3.30.0
  • Nitro Version: 2.12.9
  • Package Manager: npm@10.9.2
  • Builder: -
  • User Config: compatibilityDate, modules, devtools, css, vite
  • Runtime Modules: @nuxt/ui@4.1.0
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.1.0

Reproduction

https://github.com/patriktoth67/Naviagtion-Menu-active-item-bug.git

Description

If we have arrays of items as the items prop for a Navigation Menu, with each item having it's own value, controlling the active item with v-model doesn't work in vertical orientation.

it works correctly horizontally, opens the correct popup below the correct menu item. however vertically it doesn't open the correct accordion item.

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