Skip to content

Commit

Permalink
feat(tabs): move inherit attrs to div instead of transition (oruga-ui…
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Mar 28, 2024
1 parent 08c1fbf commit 6db3f74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/oruga/src/components/steps/StepItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defineOptions({
isOruga: true,
name: "OStepItem",
configField: "steps",
inheritAttrs: false,
});
const props = defineProps({
Expand Down Expand Up @@ -172,6 +173,7 @@ const elementClasses = defineClasses(["itemClass", "o-steps__item"]);
<div
v-show="isActive && visible"
ref="rootRef"
v-bind="$attrs"
:class="elementClasses"
:data-id="`steps-${item.identifier}`"
data-oruga="steps-item"
Expand Down
2 changes: 2 additions & 0 deletions packages/oruga/src/components/tabs/TabItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defineOptions({
isOruga: true,
name: "OTabItem",
configField: "tabs",
inheritAttrs: false,
});
const props = defineProps({
Expand Down Expand Up @@ -183,6 +184,7 @@ const headerTextClasses = defineClasses([
<div
v-show="isActive && visible"
ref="rootRef"
v-bind="$attrs"
:class="elementClasses"
:data-id="`tabs-${item.identifier}`"
data-oruga="tabs-item"
Expand Down

0 comments on commit 6db3f74

Please sign in to comment.