I use masonry in my application. Everything worked perfectly, except that the height of the objects changes (like an accordion), the masonry does not adjust the layout. What can I do to fix this?
Whenever items change, you must tell masonary to reinstall everything:
$('.ui-accordion').bind('accordionchange', function(event, ui) { $('#container').masonry(); });
$grid.on( 'shown.bs.collapse hidden.bs.collapse' , function() { $grid.masonry(); });
Source: https://habr.com/ru/post/1443201/More articles:MVC4 Forms Authentication User Authentication Does Not Work - asp.net-mvcCan FORCE SCAN improve query performance - sqlWhen does the browser stop performing a recursive function in javascript? - javascriptmultiple link lists in shared memory on Linux - cHow to remove Objective-C @try @catch blocks like this? - objective-cCreating a hub page with various controls in Windows 8 - windows-8iOS - creating NSDate without hours / minutes and ignoring daylight savings - iosWindows Store app: Eliminates GridView styles and uses only the layout of the site page - windows-store-appsArea table, fixed y-axis label width - javaBadImageFormatException in IIS on x64 - 64bitAll Articles