Open kristianmandrup opened 1 month ago
Btw, in the Programmatic example, there seemed to be an error:
// place
if (to.dropZoneID === 'a') {
colors1 = [...colors1];
colors1.splice(to.index, 0, moving);
} else if (to.dropZoneID === 'b') {
colors2 = [...colors2];
colors2.splice(to.index, 0, moving);
}
The splice
function only takes 2 arguments, so the moving
argument is invalid.
Hi,
Your library looks promising. Like someone else mentioned, it was not clear if the code for the examples was available but I found the answer via a closed issue and have now downloaded the full library to take a peek.
I will try to use the library in a SvelteKit 2 app using Svelte 5. On install I get a peer dependencies warning. Have you or anyone else made it work with Svelte 5? If so, let's perhaps add it to the list of allowed peers?
"^3.19.0 || ^4.0.0 || ^5.0.0"