-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Transition are not ignoring html comments #1352
Comments
Look like it is intentional. I fixed other warn for invalid expression with |
Seems like this problem still exists in Vue 3.0.5 when using bundler. Repro: https://codesandbox.io/s/vue-3-transition-comment-issue-chjvl |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-beta.14
Reproduction link
https://jsfiddle.net/bfag54kh/
Steps to reproduce
Put an HTML comment among Transition's children
What is expected?
It should ignore HTML comment and act as the comment is not here
What is actually happening?
It is throwing a warning
"[Vue warn]: Template compilation error: Transition expects exactly one child element or component.
If you remove the comment from the repro it is going to remove the warning
The text was updated successfully, but these errors were encountered: