rniemeyer / knockout-sortable

A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality
MIT License
548 stars 128 forks source link

knockout-sortable not re-rendering when dragging to same index #191

Open beuseli opened 6 years ago

beuseli commented 6 years ago

In our application we have an item that is contained in a knockout-sortable, which needs to be re-rendered each time the item is dragged/dropped (because it needs to be reinitialized). Apparently the items in a knockout-sortable are only re-renderd when they are dragged to a new index. This behaviour happens even when the strategyMove-property is set to false. Is there a particular reason for this? Shouldn't the items re-render, even when they are moved to the same location?

Is there any way we can make our item re-render each time it is dragged/dropped, even when it is dropped to the same location?