Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the transition effect from the VuetifyJS Vertical Stepper?

Is it possible to show the next step directly after clicking continue within the Vuetify Stepper? (or in other words: how to remove the transition slide out effect)

like image 906
Tom Avatar asked May 13 '18 11:05

Tom


3 Answers

It doesn't look like there is any provided option to change the transition effect in the Vue component itself.

But, you can disable it by setting the transition css property to none for the .stepper-content elements.

For example, you could create a no-transition class:

.no-transition .stepper__content { transition: none; }

And then add it to the <v-stepper> component tag:

<v-stepper v-model="e1" class="no-transition">
  ...
</v-stepper>

Here's a codepen with a working example.

like image 120
thanksd Avatar answered Oct 21 '22 12:10

thanksd


Mine worked with

.no-transition .v-stepper__content { transition: none; }

In case somebody didn’t succeed with @thanksd's answer.

like image 6
tuing2ing Avatar answered Oct 21 '22 13:10

tuing2ing


This worked for me:

.v-stepper__wrapper {
  transition:none !important;
}

Vuetify version 2.2.8

like image 2
Alexey Gavrilov Avatar answered Oct 21 '22 13:10

Alexey Gavrilov