Skip to content

Commit 58aa106

Browse files
ItsPierrejohannes-huther
authored andcommitted
fix: fix missing attributes in CPrimaryTabs
1 parent 30e05af commit 58aa106

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/CPrimaryTabs.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<!-- This wrapping div is required to prevent an endless loop when reloading the page. See #125 -->
33
<div class="w-100">
44
<v-tabs
5+
v-bind="$attrs"
56
class="c-primary-tabs full-width"
67
:align-tabs="alignTabs"
78
:center-active="centerActive"
@@ -16,6 +17,9 @@
1617
<script setup lang="ts">
1718
import { computed } from "vue";
1819
20+
// Don't apply the attributes to the root-element (div).
21+
defineOptions({ inheritAttrs: false });
22+
1923
/**
2024
* This component is a wrapper for the vuetify tabs following the material design 3 specifications for primary tabs
2125
*

0 commit comments

Comments
 (0)