Alex
Alex
I have made some progress. I believe it's this line that is removing the wrong item from the list: https://github.com/hejianxian/vddl/blob/5ffb105ae49ba1fce59b9dd49161c7050d56bcc4/src/components/vddl-draggable.vue#L87 I did some logging like this: https://imgur.com/a/2j9KW I start with...
@gjactat I tested it a bit and it appears that 2.5.0 is the breakpoint for when things started go wrong.
Also, if you look at my comment I explain where the wrong element is being removed from the list. Maybe I can install Vue 2.4.4 and log the same stuff...
I am just running the example project that you can find in this repo when I'm testing now.
Ok, so I have installed the older version now and I can see that the correct index is set to `this.index` when logging. Starting list: ```js 0: {type: "item", id:...
I noticed that the Vuex example still suffers from this problem. http://hejx.space/vddl-demo/#/vuex Since it adds and deletes items through actions it wasn't solved by my pull request, but the solution...
Yes, the index is passed before the list is updated for the Vuex example, we need a way to make sure that the real index is accessible.
@hejianxian Nice! Are you talking about the nested list when it's disabled? Well, I know that you can add `user-select: none;` in the css on the vddl-list to prevent selection...
@baixiyang The duplication bug should be solved. Where are you experiencing it? Have you updated to the latest version?
@Zanzavar I think it was somewhere around 2.5.9 that this error log was introduced. So you can still be on 2.5. Anyway, this error was probably always in VDDL, in...