Skip to content

Commit

Permalink
Update x-ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
austincarpenter committed Nov 20, 2024
1 parent ce15589 commit 71392a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/forms/resources/views/components/wizard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
this.$nextTick(() => {
this.$root.scrollIntoView({ behavior: 'smooth', block: 'start' })
this.$refs.headerSteps.children[this.getStepIndex(this.step)].scrollIntoView({ behavior: 'smooth', block: 'start' })
this.$refs.header.children[this.getStepIndex(this.step)].scrollIntoView({ behavior: 'smooth', block: 'start' })
})
},
Expand Down Expand Up @@ -137,7 +137,7 @@
'border-b border-gray-200 dark:border-white/10' => $isContained,
'rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10' => ! $isContained,
])
x-ref="headerSteps"
x-ref="header"
>
@foreach ($getChildComponentContainer()->getComponents() as $step)
<li
Expand Down

0 comments on commit 71392a4

Please sign in to comment.