Nestable2 icon indicating copy to clipboard operation
Nestable2 copied to clipboard

add method fails on empty nestable

Open marhgil opened this issue 5 years ago • 1 comments

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.

marhgil avatar Jun 24 '20 16:06 marhgil

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.

FatalIdiot avatar Jan 25 '21 14:01 FatalIdiot