desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 386 forks source link

How can i drag elements from sidebar (overflow-y: auto) to container ? #107

Closed ZsharE closed 8 years ago

ZsharE commented 9 years ago

Demo: http://codepen.io/desandro/pen/cbhDG

I want to be able to drag a slide from sidebar to container and drop there. Is this possible ? For example with jQuery UI Draggable you can achieve this result by using an option called { "helper": "clone" }. I didn't find something like that in documentation.

Waiting for an answer, Thanks !

desandro commented 9 years ago

You can do this with Draggabilly, but only by adding your own remove+drop+clone behavior code, making use of Draggabilly's API. Sorry, but there's no easy way to this now.