-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Annotation nodes under the component root will affect “Fallthrough Attributes” #10087
Comments
Actually, this is caused by the fact that if you insert annotations into the elements with |
However, including annotations in the middle of
|
duplicate of #5203 |
Vue version
3.4.10
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-gn3drc?file=src%2FApp.vue
Steps to reproduce
You only need to create v-if and v-else structures in the
<template>
tag under the component root node, then append an annotation under the<template>
tag, and add an annotation between if-else, and the Fallthrough Attributes will be lost.What is expected?
Annotations should not affect Fallthrough Attributes!
What is actually happening?
When using the following structure:
Fallthrough Attributes will be lost. In my example the passed class "test" is missing
This template tag is under the root node
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: