Fixed #5495 - Stepper: changing step is making the StepperPanel a render
parent
dad9f1b106
commit
cc03995656
|
@ -35,7 +35,6 @@
|
||||||
</slot>
|
</slot>
|
||||||
<slot v-if="index !== stepperpanels.length - 1" name="separator">
|
<slot v-if="index !== stepperpanels.length - 1" name="separator">
|
||||||
<StepperSeparator
|
<StepperSeparator
|
||||||
v-if="index !== stepperpanels.length - 1"
|
|
||||||
:template="step.children?.separator"
|
:template="step.children?.separator"
|
||||||
:separatorClass="cx('stepper.separator')"
|
:separatorClass="cx('stepper.separator')"
|
||||||
:stepperpanel="step"
|
:stepperpanel="step"
|
||||||
|
@ -50,7 +49,7 @@
|
||||||
<div :class="cx('panelContainer')" v-bind="ptm('panelContainer')">
|
<div :class="cx('panelContainer')" v-bind="ptm('panelContainer')">
|
||||||
<template v-for="(step, index) of stepperpanels" :key="getStepKey(step, index)">
|
<template v-for="(step, index) of stepperpanels" :key="getStepKey(step, index)">
|
||||||
<StepperContent
|
<StepperContent
|
||||||
v-if="isStepActive(index)"
|
v-show="isStepActive(index)"
|
||||||
:id="getStepContentId(index)"
|
:id="getStepContentId(index)"
|
||||||
:template="step?.children?.content"
|
:template="step?.children?.content"
|
||||||
:stepperpanel="step"
|
:stepperpanel="step"
|
||||||
|
@ -103,7 +102,6 @@
|
||||||
<div v-show="isStepActive(index)" :class="cx('stepper.toggleableContent')" v-bind="getStepPT(step, 'toggleableContent', index)">
|
<div v-show="isStepActive(index)" :class="cx('stepper.toggleableContent')" v-bind="getStepPT(step, 'toggleableContent', index)">
|
||||||
<slot v-if="index !== stepperpanels.length - 1" name="separator">
|
<slot v-if="index !== stepperpanels.length - 1" name="separator">
|
||||||
<StepperSeparator
|
<StepperSeparator
|
||||||
v-if="index !== stepperpanels.length - 1"
|
|
||||||
:template="step.children?.separator"
|
:template="step.children?.separator"
|
||||||
:separatorClass="cx('stepper.separator')"
|
:separatorClass="cx('stepper.separator')"
|
||||||
:stepperpanel="step"
|
:stepperpanel="step"
|
||||||
|
|
Loading…
Reference in New Issue