liquor-tree icon indicating copy to clipboard operation
liquor-tree copied to clipboard

droppable: false issue

Open m-kas opened this issue 5 years ago • 3 comments

In some cases I would like to use component only for sorting nodes on one level. So I am enabling drag and drop and adding droppable: false to every node. However in that case I can actually drop another node. Please see example:

https://jsfiddle.net/h1z2n05k/22/

m-kas avatar Nov 12 '18 13:11 m-kas

I have noticed this as well. Nodes are disappearing when dropped on nodes that have dropable: false applied to them. This is demonstrated in both the above fiddle and in the documentation when trying to drop a node onto the "(NOT DROPABLE)" node. Is this intended?

appindus-kanderson avatar Nov 15 '18 20:11 appindus-kanderson

Please check a new version

amsik avatar Nov 16 '18 11:11 amsik

Nicely done

appindus-kanderson avatar Nov 16 '18 12:11 appindus-kanderson