I’m using[ isotope plugin](http://isotope.metafizzy.co/index.html “isotope”) and a jquery live search which obviously when the search is triggered removes the unrelated items.
The problem is that after the search the container contains empty spaces because of the removed items.
I
s there any callback function that after a button is clicked ( in my case search button ) to reorder the layout ?
Here is a [demo](http://v2.letsplayibiza.com/?page_id=1532 “”) of the isotope and the search.
Thank you !