We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db7095 commit 3cd30c5Copy full SHA for 3cd30c5
packages/runtime-dom/src/directives/vShow.ts
@@ -20,8 +20,7 @@ export const vShow: ObjectDirective<VShowElement> = {
20
}
21
},
22
updated(el, { value, oldValue }, { transition }) {
23
- if (!value === !oldValue) return
24
- if (transition) {
+ if (transition && value !== oldValue) {
25
if (value) {
26
transition.beforeEnter(el)
27
setDisplay(el, true)
0 commit comments