Skip to content

ContextMenu outside click on NuxtLink opens the link instead of closing the menu #4811

@fayazara

Description

@fayazara

Environment

  • Operating System: Darwin
  • Node Version: v22.17.0
  • Nuxt Version: 4.0.3
  • CLI Version: 3.27.0
  • Nitro Version: 2.12.4
  • Package Manager: pnpm@9.15.3
  • Builder: -
  • User Config: devtools, ssr, modules, css, runtimeConfig, icon, fonts, future, compatibilityDate
  • Runtime Modules: @nuxt/ui-pro@3.3.2, @vueuse/nuxt@13.6.0, @formkit/auto-animate/nuxt@0.8.2, nuxt-charts@0.2.3
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Version

Nuxt UI Pro 3.3.2

Reproduction

https://stackblitz.com/edit/github-zbenj5fx?file=app%2Fpages%2Findex.vue

Description

I have a ContextMenu wrapped on a NuxtLink and when I click outside, it should close the menu, instead it opens the link.

Additional context

Demo of the bug

nuxtui-bug.mp4

@benjamincanac @HugoRCD any way to stop the link propogation?

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagev3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions