Nestable2
Nestable2 copied to clipboard
add method fails on empty nestable
Expected behavior
must be able to add item to an empty nestable
Actual behavior
add item fails. it can only be added when there are already existing items on the nestable.
Steps to reproduce the behavior
- create an empty nestable
- call add method to add item to that nestable
Fork this template to reproduce issue.
Had this same problem. Dug into the code and found out that to add an item as a child to an empty parent item, you have to aim at that parent item and then move the mouse horizontally. So if you drag the item ower the empty parent item and then drag it to the right, it will snap as child.