nuxt-community / vuetify-module

Vuetify Module for Nuxt 2
Other
630 stars 106 forks source link

Breadcrumbs component: clicking on the breadcrumb causes the site to rerender #516

Open gileneusz opened 1 year ago

gileneusz commented 1 year ago

Module version 1.12.3, nuxt 2

Describe the bug Following the official documentation https://v2.vuetifyjs.com/en/components/breadcrumbs/, clicking on the breadcrumb link causes the site to rerender, maybe beacuse of href property.

      items: [
        {
          text: 'Link 1',
          disabled: false,
          href: 'breadcrumbs_link_1',
        },
        {
          text: 'Link 2',
          disabled: true,
          href: 'breadcrumbs_link_2',
        },
      ],

I tried to change it to

to: 'breadcrumbs_link_1',

but then the link is not active

adding the nuxt property doesn't help either:

<v-breadcrumbs :items="breadcrumbs" divider="-" nuxt></v-breadcrumbs>

Steps to reproduce the behavior:

  1. Go to create breadcrumb
  2. Click on breadcrumb link
  3. Site rerenders

Expected behavior Site will follow the path without rerendering