Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
beuseli opened this issue Aug 10, 2017 · 0 comments
Open

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

beuseli opened this issue Aug 10, 2017 · 0 comments

Comments

@beuseli
Copy link

beuseli commented Aug 10, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant