question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] Vertical stepper v-stepper__label is hidden inside horizontal stepper

See original GitHub issue

I am using the Vuetify’s vertical stepper. The problem is that the stepper labels are hidden on mobile devices but I couldn’t find any reference from the framework that it should be hidden. Also I haven’t added any css to hide them.

enter image description here

This is the css that I saw while inspecting the v-stepper__label:

@media only screen and (max-width: 959px) { 
    .v-stepper:not(.v-stepper--vertical) .v-stepper__label { 
        display: none; 
    }
}

Shouldn’t it be hidden only on horizontal stepper?

My question is, where the css is coming from? Why it is not happening on Vuetify’s example? I am using the latest stable version: 1.5.7

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MaeseppTarvocommented, Jul 22, 2019

If I created the post I investigated hours and finally understood that it is not a bug but expected behaviour since horizontal stepper is hiding labels on mobile. Now if you put your vertical slider into horizontal, it hides vertical slider’s labels also 😃

I fixed it this way:

<style>
@media only screen and (max-width: 959px) {
  .v-stepper:not(.v-stepper--vertical) .v-stepper__label {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
  }
  @media only screen and (max-width: 959px) {
    .v-stepper:not(.v-stepper--vertical) .v-stepper__step__step {
      margin-right: 12px;
    }
  }
}
</style>
0reactions
Paulskycommented, Sep 12, 2019

@MaeseppTarvo Thank you for your fix 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug Report] Vertical stepper v-stepper__label is hidden ...
I am using the Vuetify's vertical stepper. The problem is that the stepper labels are hidden on mobile devices but I couldn't find...
Read more >
Angular Material stepper title disappears when screen is too ...
I am using a vertical stepper and it works ...
Read more >
Stepper component — Vuetify
Vertical. Vertical steppers move users along the y-axis and otherwise work exactly the same as their horizontal counterpart.
Read more >
Stepper | Angular Material
Angular Material's stepper provides a wizard-like workflow by dividing content into logical ... There are two stepper variants: horizontal and vertical .
Read more >
Steppers - Components - Material Design
Steppers may display a transient feedback message after a step is saved. Types of Steps. Editable Non-editable. Mobile Optional. Types of Steppers. Horizontal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found