ngx-sortablejs icon indicating copy to clipboard operation
ngx-sortablejs copied to clipboard

onAdd is not fired after onRemove event in case of nested lists but onAddOriginal does get called

Open bhaskerchari opened this issue 6 years ago • 0 comments

As per the important note mentioned in the section https://github.com/SortableJS/angular-sortablejs#how-it-works it says something like below:

Important: the original onAdd event happens before the onRemove event because the original library makes it like that. We change this behavior and call 'onAdd' after the 'onRemove'. If you want to work with original onAdd event you can use onAddOriginal which happens before onRemove.

But in case when we have nested lists onAddOriginal is firing before the onRemove event but onAdd is not getting fired after the onRemove event.

bhaskerchari avatar May 06 '18 20:05 bhaskerchari