mirror of https://github.com/RubaXa/Sortable.git
Browse Source
If `ko.options.deferUpdates = true`, then updates to the UI don't happen immediately when you modify the viewModel. For the sortable binding, this means that after removing a moved item, it doesn't recreate it at the new position. Calling `ko.tasks.runEarly` before re-inserting the item into the observableArray makes KO register the removal. This is the fix proposed by @adriaanmeuris in RubaXa/Sortable#712pull/871/head
Christian Lawson-Perfect
9 years ago
committed by
GitHub
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue