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

Only animating as elements are removed, not when added back #169

Open
steven-js opened this issue Oct 5, 2021 · 3 comments
Open

Only animating as elements are removed, not when added back #169

steven-js opened this issue Oct 5, 2021 · 3 comments

Comments

@steven-js
Copy link

Hi!

So close to getting this to work but my animation only triggers on the first change.

What am I doing wrong? :) Pretty sure all my keys are unique!

Screen.Recording.2021-10-05.at.14.28.12.mov
@steven-js steven-js changed the title Only animating on first change Only animating as elements are removed, not when added back Oct 5, 2021
@aholachek
Copy link
Owner

Hi Steven, I'm not sure from this video, but if you can post the code (or a simplified repro) I could check it out.

@steven-js
Copy link
Author

Hi, thanks!

It may be to do with how I'm pushing items in and out of my array … here is my code and a new video showing with an ALL button as well.

Screenshot 2021-10-09 at 15 44 42

Screen.Recording.2021-10-09.at.15.44.18.mov

@steven-js
Copy link
Author

And this is the repro https://github.com/stevencmh/filter-and-flip

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

No branches or pull requests

2 participants