Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Both operations - Drag and drop me and Drag and drop my copy are working in same manner #5

Open
Nagasai-Aytha opened this issue Jul 29, 2017 · 3 comments

Comments

@Nagasai-Aytha
Copy link

Both operations - Drag and drop me and Drag and drop my copy are working in same manner in the example provided http://juicy.github.io/juicy-draggable/

Could you please confirm whether it works expected or is it a bug??

@Nagasai-Aytha
Copy link
Author

Thanks Mihaii, then I think drag feature of "Drag and drop me" is having same feature as "Drag me around"

As the name indicates I thought "Drag and drop my copy" will make a copy in drop zone without destroying from the original postion at top

Please correct me if I am wrong

@Mihaiii
Copy link

Mihaiii commented Jul 29, 2017

I'll have a look, but in the meantime, if you're in a hurry and need that behavior, please consider replacing in the given example
drop.appendChild(origin) with drop.appendChild(origin.cloneNode(true)) at here
https://github.com/Juicy/juicy-draggable/blob/master/index.html#L104 .

@Nagasai-Aytha
Copy link
Author

thanks Mihaii :)

@warpech warpech added this to the Juicy elements support milestone Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants