Skip to content

[feat]: transition-group compatibility#117

Open
VolodymyrTesliuk wants to merge 1 commit intoMaxLeiter:mainfrom
VolodymyrTesliuk:feat/transition-group
Open

[feat]: transition-group compatibility#117
VolodymyrTesliuk wants to merge 1 commit intoMaxLeiter:mainfrom
VolodymyrTesliuk:feat/transition-group

Conversation

@VolodymyrTesliuk
Copy link

<transition-group> compatibility

This PR adds support for using Vue's TransitionGroup with the Sortable component, addressing long-standing issues such as:

To enable transitions:

  • Set the tag prop to "transition-group" or "TransitionGroup"
  • Use the name prop to specify your custom transition, just as you would with Vue's native transition-group

Example:

<Sortable
    ...
    tag="transition-group"
    group-tag="ul"
    name="list-fade"
  >
    <template #item="{ element }">
      ...
    </template>
  </Sortable>

@vercel
Copy link

vercel bot commented Sep 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sortablejs-vue3 Ready Ready Preview Comment Sep 4, 2025 0:16am

@MaxLeiter
Copy link
Owner

thank you! can you update the README to reflect these changes?

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 this pull request may close these issues.

2 participants