fix(vc-trigger): enable align when status 'motion' to avoid animation of child restart when transition finished. #6656 (#6662)
parent
0b73afffc4
commit
3838c5da3f
|
@ -127,7 +127,10 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const alignDisabled = computed(() => {
|
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 false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue