Skip to content

[bug] Ignore templating elements (AlpineJS) (MultiDrag) #2448

Description

@csouza1995

I want a help to contourn a usage problem!
When I use AlpineJS x-for to create a list and try to drag multiple items, when I drop them, the objects are moved one slot above the drop location.

I think that is because have a template element inside my list and I need a way to ignore it or something else
Image

Example:
https://jsbin.com/wukamikoci/1/edit?html,js,output
https://github.com/user-attachments/assets/7226cdbc-f206-47d7-9671-2f5a610fcf10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions