commit: ed34b07b3f5e902a59638e3c1fd138a5d90d2d03
parent d223683b2e1d7f3fc4c2dfc4e4a532cc6c3d67a1
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 24 May 2023 11:44:26 +0300
fix transition when resetting to indeterminate state
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue
@@ -45,7 +45,9 @@ export default {
},
methods: {
onTransitionEnd (e) {
- this.indeterminateTransitionFix = false
+ if (!this.indeterminate) {
+ this.indeterminateTransitionFix = false
+ }
}
}
}