Skip to content

Drag and Drop using two list in different documents (iframe) #1900

@nicoloboschi

Description

@nicoloboschi

Hi
I would like to enable sortable lists across an iframe (with same origin).
I tried to create two lists with same 'group' but it doesn't work
I also tried to use "forceFallback: true" but nothing changed

Is this possible? How I can achieve that? Also a tricky solution is good for me
Thank you in advance

This example is very simple but it doesn't work anyway

Sortable.create(document.querySelector(".container"), { group: "group1" });

<div class="container"> <span>content1</span> <span>content2</span> </div>

Activity

waynevanson

waynevanson commented on Sep 9, 2020

@waynevanson
Contributor

Why do you think it wouldn't work?

Does Sortable exist in both iframes?

nicoloboschi

nicoloboschi commented on Sep 9, 2020

@nicoloboschi
Author
nicoloboschi

nicoloboschi commented on Sep 14, 2020

@nicoloboschi
Author

@waynevanson any news? Is this possible now?

Maybe I'm missing some options

nicoloboschi

nicoloboschi commented on Sep 23, 2020

@nicoloboschi
Author

If it is not possible right now, I might working on this and create a PR
@waynevanson Could you give me some hints for starting?

mino181295

mino181295 commented on Sep 29, 2020

@mino181295

I also need this, any news? @waynevanson

Uysim

Uysim commented on Nov 5, 2020

@Uysim

Any news on this?

zijiaone

zijiaone commented on Nov 18, 2024

@zijiaone

I also need this, any news? @waynevanson

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

    questionquestions from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mino181295@Uysim@zijiaone@nicoloboschi@waynevanson

        Issue actions

          Drag and Drop using two list in different documents (iframe) · Issue #1900 · SortableJS/Sortable