Hi there! I was trying to replicate a classic multi-select component where the selections you make go up top. Something like this:

However, as soon as I try to add a flip animation or even make the #each block keyed, it results in the following:

Here is REPL of the above. If you remove the animate and the key, you will see it works fine. It doesn't seem to be a problem with the animation itself since only having the key breaks it.
Since I'm new to Svelte, I'm unsure if this is the intended behavior, a bug, or even a feature request. That's why I put this on Questions and help.
Thanks! I've been loving Svelte so far ❤️
Hi there! I was trying to replicate a classic multi-select component where the selections you make go up top. Something like this:
However, as soon as I try to add a flip animation or even make the
#eachblock keyed, it results in the following:Here is REPL of the above. If you remove the
animateand the key, you will see it works fine. It doesn't seem to be a problem with the animation itself since only having the key breaks it.Since I'm new to Svelte, I'm unsure if this is the intended behavior, a bug, or even a feature request. That's why I put this on Questions and help.
Thanks! I've been loving Svelte so far ❤️