Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation with binded groups #5779

Closed
vimtor opened this issue Dec 13, 2020 · 1 comment · Fixed by #5840
Closed

Animation with binded groups #5779

vimtor opened this issue Dec 13, 2020 · 1 comment · Fixed by #5840

Comments

@vimtor
Copy link

vimtor commented Dec 13, 2020

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

daa597aca528bc93503ac34a274c9d59

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

df2f5cb25821ed47b414cbb9d7c38a8b

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 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants