Replies: 3 comments 4 replies
-
the same reason as this: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I define my own
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Even simpler, also from the docs:
So you can do: <PopoverPanel v-slot="{ close }">
<div>
<NuxtLink :to="/" @click="close">
Home
</NuxtLink>
</div>
</PopoverPanel> |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproduction: Stackblitz example
I got a popover as menu in a Nuxt 3 application with some NuxtLinks as menu items. When the NuxtLink gets clicked, the correct page gets renderd, but the popover stays open. When I use a normal
<a>
instead of<NuxtLink>
it's working like expected and the popover closes on click of the menu item. Is this a bug? Or is there a legit reason why this behavior is not working with NuxtLink? A Nuxt (3) problem?Beta Was this translation helpful? Give feedback.
All reactions