fix(vc-trigger): enable align when status 'motion' to avoid animation of child restart when transition finished. #6656 (#6662)

pull/6800/head
KaygNas 1 year ago committed by GitHub
parent 0b73afffc4
commit 3838c5da3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -127,7 +127,10 @@ export default defineComponent({
},
});
const alignDisabled = computed(() => {
if ((props.align as any)?.points && (status.value === 'align' || status.value === 'stable')) {
if (
(props.align as any)?.points &&
(status.value === 'align' || status.value === 'motion' || status.value === 'stable')
) {
return false;
}
return true;

Loading…
Cancel
Save