Update StepPanel.vue with v-show rather than v-if for horizontal steps.
Bug fix for StepPanel.vue so that v-show is used rather than v-if. v-show is desired as the Stepper should not be re-rendering components.pull/6054/head
parent
3c27c325a5
commit
e2abf5f974
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue