-
-
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
v-show is invalid on the DEV_ROOT_FRAGMENT node. #5523
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
Comments
Since v show changed the display style property, isn’t this just expected? The component needs to have a root node or to explicitly use v-bind=$attrs |
I think this node is a single root node, core/packages/runtime-core/src/componentRenderUtils.ts Lines 271 to 292 in 5898629
And it behaves differently than the production mode. |
posva
added
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
labels
Mar 7, 2022
iwusong
pushed a commit
to iwusong/core
that referenced
this issue
May 13, 2022
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.
has workaround
A workaround has been found to avoid the problem
🐞 bug
Something isn't working
Version
3.2.31
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Observation
hello
What is expected?
hello
should twinklingWhat is actually happening?
v-show = false
invalidThe text was updated successfully, but these errors were encountered: