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
The red div is not expected to show under any circumstances since it's v-show is set to false.
What is actually happening?
Updating the reactive style string overrides the 'display: none' generated by v-show, causing the div to appear
This behavior only happens if the style binding is a string. v-show works as expected if style binding is an object. One would expect the behavior to be consistent regardless the type of the style binding.
The text was updated successfully, but these errors were encountered:
Version
3.0.2
Reproduction link
https://codepen.io/zlu883/pen/QWEJOMd
Steps to reproduce
Click "change style string" button in the pen
What is expected?
The red div is not expected to show under any circumstances since it's v-show is set to false.
What is actually happening?
Updating the reactive style string overrides the 'display: none' generated by v-show, causing the div to appear
This behavior only happens if the style binding is a string. v-show works as expected if style binding is an object. One would expect the behavior to be consistent regardless the type of the style binding.
The text was updated successfully, but these errors were encountered: