Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

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

Open nicoloboschi opened this issue 5 years ago • 7 comments

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>

nicoloboschi avatar Sep 07 '20 13:09 nicoloboschi

Why do you think it wouldn't work?

Does Sortable exist in both iframes?

waynevanson avatar Sep 09 '20 05:09 waynevanson

@waynevanson yes of course

I created this https://jsfiddle.net/nicoloboschi/39c4f5b7/

nicoloboschi avatar Sep 09 '20 11:09 nicoloboschi

@waynevanson any news? Is this possible now?

Maybe I'm missing some options

nicoloboschi avatar Sep 14 '20 18:09 nicoloboschi

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?

nicoloboschi avatar Sep 23 '20 07:09 nicoloboschi

I also need this, any news? @waynevanson

mino181295 avatar Sep 29 '20 09:09 mino181295

Any news on this?

Uysim avatar Nov 05 '20 09:11 Uysim

I also need this, any news? @waynevanson

zijiaone avatar Nov 18 '24 09:11 zijiaone