nestedSortable icon indicating copy to clipboard operation
nestedSortable copied to clipboard

Problems with assigning of classes when isTree is true

Open phena109 opened this issue 10 years ago • 0 comments

So I need to dynamically insert child nodes to the structure and I am using the isTree setting and it is 'true'. While correct classes are assigned when first initialise and as I started a drag, but it is not doing so when I have inserted the code using DOM manipulation. For example, a leaf node added with a child node will not into a branch and vise versa.

For now I can patch up the missing classes behavior by writing my own check function but that's too patchy. Hope this can be fixed it in the close future.

phena109 avatar Sep 30 '15 16:09 phena109