Closed lmarcelocc closed 6 years ago
Hi @lmarcelocc I've made some modification to your demo: https://stackblitz.com/edit/angular4-dragula-icjbyr
You can achieve the desired behaviour by preventing the whole element from being dragged. Instead you can use a "handler" (like in the demo page's "Drag handles float your cruise?" section: https://valor-software.com/ng2-dragula/index.html).
Hi @peter9208,
that really makes sense and it's exactly the behavior I was expecting.
I really appreciate your support.
Thanks you again :)
Hi all!
I'm trying to use ng2-dragula to accomplish something like this (please ignore the design, I just trying to find a solution for the functionality):
I need to sort, both parent categories and sub categories. But I'm having some issues trying to make it both work, since I need to have the sub category within the parent category, otherwise I will get an undesired dragula behavior:
Here's a demo of what I've right now: https://stackblitz.com/edit/angular4-dragula
Anyone is able to help?
Thank you in advance!