ngx-sortablejs
ngx-sortablejs copied to clipboard
onAdd is not fired after onRemove event in case of nested lists but onAddOriginal does get called
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.