Skip to content

docs: clarify TransitionGroup wrapper element difference from Transition - #3455

Open
lazerg wants to merge 1 commit into
vuejs:mainfrom
lazerg:fix/issue-3454-transitiongroup-wrapper
Open

docs: clarify TransitionGroup wrapper element difference from Transition#3455
lazerg wants to merge 1 commit into
vuejs:mainfrom
lazerg:fix/issue-3454-transitiongroup-wrapper

Conversation

@lazerg

@lazerg lazerg commented Aug 13, 2026

Copy link
Copy Markdown

Description of Problem

The "Differences from <Transition>" section of the TransitionGroup guide lists "By default, it doesn't render a wrapper element" as a difference, which reads as though <Transition> does render one. It doesn't. In Vue 3, <TransitionGroup> renders a fragment unless the tag prop is set, and <Transition> renders its single child directly.

Proposed Solution

Reword the bullet so the actual difference is the tag prop, and state that neither component renders a wrapper by default.

Additional Information

The wording comes from #649, which corrected the Vue 2 behavior (a <span> root) but left the bullet in the differences list.

Closes #3454

@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 2ae7a69
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6a7d63d41c7c4b00088b6578
😎 Deploy Preview https://deploy-preview-3455--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Guide: TransitionGroup page falsely implies Transition renders a wrapper element

1 participant