Can anyone help me figure out how to make the <v-stepper-header>
component stay sticky when scrolling?
I attempted to create custom CSS for this but was unsuccessful.
Below is a snippet of code that I tried:
<v-stepper v-model="step">
<v-stepper-header class="sticky">
<v-stepper-step
step="1"
>
Step 1
</v-stepper-step>
</v-stepper>
.sticky {
position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
}