TransitionGroup hydration mismatch #11514
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: ssr
scope: transition
Vue version
4.4.15
Link to minimal reproduction
https://stackblitz.com/edit/vue-ssr-example-9tg6p3?file=app.js
Steps to reproduce
Describe the Bug
A hydration mismatch occurs inside a
TransitionGroup
when a tag is rendered and there is an element withv-if
inside.Removing the tag still causes this warning:
Reproduction
To reproduce the issue in Vue SSR:
Observations:
v-if
inside aTransitionGroup
with atag
specified.tag
causes a different but similar warning.What is expected?
What is actually happening?
System Info
Any additional comments?
I have also reported this problem in the Nuxt repo: TransitionGroup hydration mismatch · Issue #28381 · nuxt/nuxt. In Nuxt, an additional hydration mismatch occurs when there is a comment inside the
TransitionGroup
, which should have been resolved here.The text was updated successfully, but these errors were encountered: