Why does manipulating the style property of the DOM not take effect? #11719
Unanswered
workCleaner
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version
2.5.22
Reproduction link
codesandbox.io
Steps to reproduce
When a DOM element uses style="display:none;" and is involved in v-else-if rendering within a component, removing the style attribute directly from the DOM can fail. On the App page in CodeSandbox, the removal method will execute after a seven-second delay.
What is expected?
The style attribute is removed correctly.
What is actually happening?
The style attribute is not removed correctly.
Beta Was this translation helpful? Give feedback.
All reactions