ngx-sortablejs
ngx-sortablejs copied to clipboard
Identical cloned element gets moved twice in view
When you drag the same item twice to the normal list and then drag the first "Element 11" back to the cloned list both elements appear in the cloned list. But the array's below show that the state of the ui is broken.
I have the same error in my own example with the same setup with a cloneable list.
It has something to do with cloning by reference. For my usecase overriding the clone function worked.
myCloneImplementation = (item) => { return {...item} }