iron-elements icon indicating copy to clipboard operation
iron-elements copied to clipboard

Drag and drop

Open markibanez opened this issue 9 years ago • 27 comments

Can we still use the old core-drag-drop element? If not what can we use to implement drag and drop?

markibanez avatar May 31 '15 00:05 markibanez

The old core-drag-drop will not work in Polymer 1.0, but I think @kevinpschaaf has been working on something related to this.

notwaldorf avatar Jun 19 '15 20:06 notwaldorf

+1 for drag and drop element! :+1:

abdonrd avatar Oct 18 '15 09:10 abdonrd

Meanwhile you can integrate a library like InteractJS. Check this sample of a Polymer 1+ element that uses it to add drag/drop behavior. http://hugozap.com/polymer-practice/dist/interact-dragdrop1.html

hugozap avatar Nov 01 '15 06:11 hugozap

/cc @kevinpschaaf

notwaldorf avatar Nov 09 '15 23:11 notwaldorf

For those interested, sortable seems like a nice alternative. This mentions that it already has polymer support, already wrapped as a component!

cvanleeuwen avatar Nov 12 '15 15:11 cvanleeuwen

hi @kevinpschaaf what is the status of this ?

albertolobrano avatar Dec 10 '15 08:12 albertolobrano

@albertolobrano I'm not doing any active work on this currently. What @notwaldorf was referring to was a proof-of-concept I did a while back on a <dom-reorderer> element: http://jsbin.com/setaci/5/edit?html,output. I don't have plans at the moment to take that to a supported element, but happy to share it in case it's useful.

kevinpschaaf avatar Dec 10 '15 17:12 kevinpschaaf

@albertolobrano @kevinpschaaf I have prototyped some drag/drop primitives and might be able to introduce something soon.

cdata avatar Dec 10 '15 19:12 cdata

@kevinpschaaf @cdata thanks for the update

albertolobrano avatar Dec 11 '15 17:12 albertolobrano

@hugozap thanks! i was able to nest the element in the example div and it worked perfectly!

brown2rl avatar Mar 02 '16 00:03 brown2rl

+1

ronnyroeller avatar Apr 07 '16 22:04 ronnyroeller

+1

mgibas avatar Jul 26 '16 15:07 mgibas

+2

johanneseschrig avatar Aug 02 '16 09:08 johanneseschrig

+1

frezelth avatar Aug 05 '16 09:08 frezelth

This is a great component for a draggable and resizeable div http://manekinekko.github.io/drag-resize/ by @manekinekko. It is dependent on core-elements.

<link rel="import" href="../core-drag-drop/core-drag-drop.html">
<link rel="import" href="../core-tooltip/core-tooltip.html">

Are these capabilities going to be implemented in the iron elements? I could use the capabilities of the drag-resize component in my application.

Thank you, Loren

lcahlander avatar Aug 15 '16 13:08 lcahlander

Any update / plans / schedule on this? hank you

pwasem avatar Sep 08 '16 10:09 pwasem

Any update on this ???

sasivarnan avatar Nov 14 '16 05:11 sasivarnan

+1

dwr-psandhu avatar Dec 13 '16 18:12 dwr-psandhu

+1

martin-voigt avatar Dec 16 '16 11:12 martin-voigt

+1

espa77 avatar Dec 16 '16 14:12 espa77

+1

jdemeulenaer avatar Dec 16 '16 15:12 jdemeulenaer

https://beta.webcomponents.org/element/ergo/polymer-dragula - I've made this and it seems work like a charm in shady dom - including nesting, demo 1 also works with shadow dom enabled - but demo 2 breaks - i think this requires some changes in dragula itself to support.

https://github.com/bevacqua/dragula/issues/418 probably would solve this completly?

ergo avatar Dec 16 '16 22:12 ergo

+1 Any update on this?

dameiers avatar May 03 '17 19:05 dameiers

+1 Any update on this?

johnlim avatar Jan 06 '18 15:01 johnlim

+1

maxiplay avatar Jan 25 '18 18:01 maxiplay

+1

irontiga avatar Apr 05 '18 03:04 irontiga

+1

EliArtist avatar Apr 19 '18 18:04 EliArtist