rhwilr/vue-nestable

Issue with dragging and reordering

notflip opened this issue · 3 comments

I've got some strange behaviour, as you can see I have elements, Alfa, Bravo, Charlie.
When I reorder, strange things are happening, I recorded the behaviour
http://g.recordit.co/el35fPe1l1.gif

Any idea what might be causing this?

I'm looking further into this, It appears to go wrong from the moment I select an item and start dragging, the item beneath it becomes the one I'm dragging.

http://recordit.co/pSD9a18vZW/gif/notify

Without an actual source-code example, I can only guess. I'd check that your keyPro is actually unique.

You're right, was a keyProp issue. Thanks for this!