Merge pull request #6054 from rickngo/patch-1

Update StepPanel.vue with v-show rather than v-if for horizontal steps.
pull/6101/head
Tuğçe Küçükoğlu 2024-07-22 10:38:07 +03:00 committed by GitHub
commit 3c67dd4558
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
</template>
<template v-else>
<template v-if="!asChild">
<component v-if="active" :is="as" :id="id" :class="cx('root')" role="tabpanel" :aria-controls="ariaControls" v-bind="getPTOptions('root')">
<component v-show="active" :is="as" :id="id" :class="cx('root')" role="tabpanel" :aria-controls="ariaControls" v-bind="getPTOptions('root')">
<slot :active="active" :activateCallback="(val) => updateValue(val)" />
</component>
</template>