We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e462c12 commit bca53d0Copy full SHA for bca53d0
src/components/tabs/Tabs.vue
@@ -11,9 +11,14 @@
11
</template>
12
</dropdown>
13
<li v-else role="presentation" :class="getTabClasses(tab)" v-show="!tab.hidden">
14
- <a role="tab" href="#" @click.prevent="select(tabs.indexOf(tab))" v-if="tab.$slots.title">
15
- <portal-target :name="tab._uid.toString()"/>
16
- </a>
+ <portal-target
+ :name="tab._uid.toString()"
+ tag="a"
17
+ role="tab"
18
+ href="#"
19
+ @click.native.prevent="select(tabs.indexOf(tab))"
20
+ v-if="tab.$slots.title"
21
+ />
22
<a role="tab" href="#" @click.prevent="select(tabs.indexOf(tab))" v-else="tab.title"
23
v-text="tab.title"></a>
24
</li>
0 commit comments