Merge pull request #6054 from rickngo/patch-1
Update StepPanel.vue with v-show rather than v-if for horizontal steps.pull/6101/head
commit
3c67dd4558
|
@ -14,7 +14,7 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-if="!asChild">
|
<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)" />
|
<slot :active="active" :activateCallback="(val) => updateValue(val)" />
|
||||||
</component>
|
</component>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue