svelte-dnd
svelte-dnd copied to clipboard
Example fails bc of svelte internal error
For me running the example yields the error mentioned here: https://github.com/sveltejs/svelte/issues/3165 In the linked ticket it is mentioned that it will work as soon as you do not use the packaged thing, but the raw components..
console output after me trying to move stuff (and then clicking
onDrop
Object { to: "DZ2", from: "DZ1", item: {…} }
examples.js:1588:17
TypeError: outros is undefined
examples.js:468:13
onDrop
Object { to: "DZ1", from: "DZ1", item: {…} }
examples.js:1588:17
onDrop
Object { to: "DZ2", from: "DZ1", item: {…} }
examples.js:1588:17
onDrop
Object { to: "DZ2", from: "DZ1", item: {…} }
examples.js:1588:17
onDrop
Object { to: "DZ3", from: "DZ2", item: {…} }
examples.js:1588:17
onDrop
Object { to: "DZ1", from: "DZ1", item: {…} }
Thank you for this issue, but right now I have no time for it. If you can fix it, please send PR.
I moved away from using svelte, since elm seems to fit my use-case much better. So currently also a fix is not soo daringly needed from my side anymore, just wanted to let you know about that issue.
Ok, thank you)