Skip to content

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

@csouza1995

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

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