vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.6.14] v-stepper component appears to rehydrate the window item multiple times when the item is a Vue component.

Open
#21,185 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VStepper SSR T: bug
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.6.14
Vue Version: 3.5.13
Browsers: Edge 134.0.0.0
OS: Windows 10

Steps to reproduce
  1. install the deps using npm i --force
  2. run the dev server
  3. Open your console
  4. Move the stepper forward and backward
  5. You will notice that the stepTwo element is hydrated twice
Expected Behavior

The window item (the Vue component) should be hydrated only once per step

Actual Behavior

the item (the Vue component) is hydrated several times ( it seems to be hydrated ×num of steps)

Reproduction Link

https://github.com/3aluw/vuetify-stpper-issue

Vuetify Play - Vuetify Stepper Issue

Other comments

I didn't check if this is happening when the Stepper window item is not a Vue component.
If you add new components, you'll notice that the item gets hydrated more times.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction, install its dependencies with npm i --force, and run the dev server while watching the console as the stepper moves forward and backward. Trace the stepper window item behavior for Vue components; done means each item is hydrated only once per step.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.