commit: 9f77f910b86ada3ef9f7e537003ef62ec193c741
parent 3ead21bcc640dfd2fb0f4080e532ba637cc2fdb3
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 24 May 2023 11:29:59 +0300
fix animation when ideterminate is the initial state
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue
@@ -33,8 +33,8 @@ export default {
'disabled'
],
emits: ['update:modelValue'],
- data: () => ({
- indeterminateTransitionFix: false
+ data: (vm) => ({
+ indeterminateTransitionFix: vm.indeterminate
}),
watch: {
indeterminate (e) {