Open jangxx opened 1 year ago
There is a completely undefined behavior with transition groups, I have updated all the dependencies of the repo and it's reflected in the tests, the vnodes in transition group in vue 3 do not have an el
for some reason, making the context undefined and the index calculation completely random
I have a draggable element like this
with a start and end handler which take care of the actual ordering by using the
oldIndex
andnewIndex
values from the drag event. The value forlist
is a computed value that can not be mutated. This works great without the transition group, but as soon as I settag
to "transition-group", the indices become very weird. In a list with 6 items I saw indices like 17 and 13 for example.My question is now if this is a bug or if I'm doing something wrong and this is intentional behavior.