You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a testcase in vShow.spec.ts name the value of 'display' set by v-show should not be overwritten by the style attribute when updated, So the issue #4768 is not a bug, it is designed like this.
I guess you can try type like fullStyle: "'display: none'"
The case we use the bind signature - :style instead of a html attr style => it should be the 'string' i.e. "'string'"
Version
3.2.20
Reproduction link
codepen.io
Steps to reproduce
click changeStyle
What is expected?
style change and should keep element style "display: none;" attribute via v-show
What is actually happening?
The element is displayed even if v-show value is false.
causes by commit 3f38d59 .
I understand it should be v-show control display and hide, computed style control display style.
The text was updated successfully, but these errors were encountered: