Skip to content

Commit

Permalink
fix(HowToUse): fix z-index when close by button
Browse files Browse the repository at this point in the history
  • Loading branch information
rudnovd committed Apr 13, 2022
1 parent 0945d9a commit 7e14dd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/HowToUse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ export default defineComponent({
}
})
watch(isStarted, (newIsStarted) => {
if (!newIsStarted && step.value <= props.steps.length - 1) returnElementStyles(step.value)
})
const tourContainers = computed(() => {
if (!isStarted.value) return []
const currentStep = props.steps[step.value]
Expand Down

0 comments on commit 7e14dd1

Please sign in to comment.