How to remove the transition effect from the VuetifyJS Vertical Stepper?
Asked Answered
S

4

10

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)

Selfwinding answered 13/5, 2018 at 11:30 Comment(1)
Searching for this too! Looks like there is a computedTransition:"v-tab-reverse-transition" on the VStepperContent - but there is no way to change it AFAIKEiland
P
19

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.

Pentaprism answered 21/5, 2018 at 17:55 Comment(0)
S
6

Mine worked with

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

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

Superimpose answered 8/12, 2018 at 9:11 Comment(0)
Z
2

This worked for me:

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

Vuetify version 2.2.8

Zebrawood answered 11/12, 2020 at 18:17 Comment(0)
J
1
  1. Remove the Vuetify stepper transition:

    .v-stepper__content, .v-overlay { transition: none !important; }

  2. Remove the Vuetify stepper transition only from stepper-header (which I was looking for). I added a class "stepper-body" to :

    .stepper-body { position: relative; }

Jeweller answered 17/8, 2021 at 12:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.