Skip to content

Commit

Permalink
Fixed #5495 - Stepper: changing step is making the StepperPanel a render
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Apr 1, 2024
1 parent dad9f1b commit cc03995
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/lib/stepper/Stepper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
</slot>
<slot v-if="index !== stepperpanels.length - 1" name="separator">
<StepperSeparator
v-if="index !== stepperpanels.length - 1"
:template="step.children?.separator"
:separatorClass="cx('stepper.separator')"
:stepperpanel="step"
Expand All @@ -50,7 +49,7 @@
<div :class="cx('panelContainer')" v-bind="ptm('panelContainer')">
<template v-for="(step, index) of stepperpanels" :key="getStepKey(step, index)">
<StepperContent
v-if="isStepActive(index)"
v-show="isStepActive(index)"
:id="getStepContentId(index)"
:template="step?.children?.content"
:stepperpanel="step"
Expand Down Expand Up @@ -103,7 +102,6 @@
<div v-show="isStepActive(index)" :class="cx('stepper.toggleableContent')" v-bind="getStepPT(step, 'toggleableContent', index)">
<slot v-if="index !== stepperpanels.length - 1" name="separator">
<StepperSeparator
v-if="index !== stepperpanels.length - 1"
:template="step.children?.separator"
:separatorClass="cx('stepper.separator')"
:stepperpanel="step"
Expand Down

0 comments on commit cc03995

Please sign in to comment.