I have both jQuery Sortable and jQuery Masonry working. When i combine the two sortable doesn't want to work correctly.
As i drag an item the other items do not move however the backend (Rails) does work because is saves the position when i refresh the page even though it didn't show that it moved. So the front end is the problem.
If i drag object 1 to the last position none of the other objects will move on the screen it is like they are stuck in place. I am pretty sure i need to do something so Masonry is refreshing as i drag the object.
Here is my code in Coffeescript
jQuery ->
$('.listwrap').sortable
update: ->
$.post($(this).data('update-list'), $(this).sortable('serialize'))
$(document).ready ->
$('#container').masonry
itemSelector: '.list'
columnWidth: 200
return
I have tried these but i can't seem to get it to work.