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

Comments throw error in Transition #3619

Closed
Lucien950 opened this issue Apr 16, 2021 · 1 comment · Fixed by #3622
Closed

Comments throw error in Transition #3619

Lucien950 opened this issue Apr 16, 2021 · 1 comment · Fixed by #3622
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working

Comments

@Lucien950
Copy link

Lucien950 commented Apr 16, 2021

Version

3.0.11

Reproduction link

SFC Link

Steps to reproduce

Just put down a comment in a transition tag.

What is expected?

Comments should be ignored

What is actually happening?

It is throwing a " can only be used on a single element or component" error.

@posva posva added 🐞 bug Something isn't working 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Apr 16, 2021
@posva
Copy link
Member

posva commented Apr 16, 2021

The fix could be similar to the one for #1352

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working
Projects
None yet
2 participants