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

Animate across lists? Across all elements inside a ul? #189

Open
morgs32 opened this issue Jan 7, 2024 · 0 comments
Open

Animate across lists? Across all elements inside a ul? #189

morgs32 opened this issue Jan 7, 2024 · 0 comments

Comments

@morgs32
Copy link

morgs32 commented Jan 7, 2024

I'm wondering if any thought has been given to animating across lists?
I've updated the react demo here:
https://stackblitz.com/edit/auto-animate-react-g2wecm?file=src%2FFrameworkList.jsx

And here's a screen recording
https://github.com/formkit/auto-animate/assets/1364795/e4a6524a-9734-4522-9389-197605becd67

My real use case is to have the "Add new" row get auto-animated into a SORTED list.

  • But originally it is outside the list.
  • I set key on the li item and it is the same key as it will have in the list once it has been added.

Here's a screen recording of that. Any suggestions? Would you be interested in that feature?

Screenshare.-.2024-01-07.2_36_36.PM.mp4

Thanks!

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

1 participant