'$modelValue.splice' let me get a wrong currentContainer ?
10081677wc opened this issue · 5 comments
10081677wc commented
Hi,
ui.item.sortable.moved = ngModel.$modelValue.splice(ui.item.sortable.index, 1)[0];
This code in callbacks.remove
may be some problems?
When the dom changed cause by $modelValue, I sometimes get a wrong currentContainer.
thgreasi commented
Can you fork one of the provided examples to reproduce the issue you are facing?
thgreasi commented
Please retest against the just released v0.17.2.
10081677wc commented
Thank you for your advice,
unfortunately, the same problem occurs in the v0.17.2,
and I find the question #534,
it' s a similar situation to mine,
I will try to reproduce the issue :)
10081677wc commented
Hi,
I find the problem lies in 'track by $index'.
thgreasi commented
Thanks for sharing!