Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional children break key handling in wrapped transitions #869

Closed
CyberAP opened this issue Mar 23, 2020 · 0 comments · Fixed by #875
Closed

Conditional children break key handling in wrapped transitions #869

CyberAP opened this issue Mar 23, 2020 · 0 comments · Fixed by #875

Comments

@CyberAP
Copy link
Contributor

CyberAP commented Mar 23, 2020

Version

3.0.0-alpha.9

Reproduction link

https://codesandbox.io/s/strange-cache-ert3j

Steps to reproduce

  1. Create a wrapped transition (transition component as root and a slot)
  2. Use that transition on a single child component with a structural directive (v-if)

What is expected?

Should produce no warnings

What is actually happening?

A warning is displayed:

[Vue warn]: <TransitionGroup> children must be keyed. 
  at <Anonymous tag="div" name="transition-test" > "" 
  at <TransitionComponent> "" 
  at <App> "" 
  at <Anonymous> (Root) 
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant