SIGN IN SIGN UP
SortableJS / Sortable UNCLAIMED

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.

0 0 46 JavaScript

Solves "inser Before" issue on nested lists

That solves an issue with nested sortables.
example of error https://codepen.io/romualdogrillo/pen/jOPoRJe
An error appears when all following conditions are met:
1)You have two nested sortable containers
2)option “pull:clone” i set at least on the parent container
3)You drag an item from the parent container into the nested container

The item is moved but not cloned and you get the error: 
“Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted”
R
RomualdoGrillo committed
c724964869515c7c4cd50c491461eb45e15a8197
Parent: c36f49b
Committed by GitHub <noreply@github.com> on 4/4/2020, 10:25:10 AM