jquery isotope resize to handle expanded accordion -
i'm using jquery isotope sortable text listing of federal regulatory activities. list each update in docket , list per docket can become quite long. i've added bootstrap simple accordion panels items more 2 updates make each item panel's height consistent. when open accordion panel, isotope pane doesn't resize accommodate expanded accordion.
any ideas on how isotope panel resize height handle expanded accordions?
thanks!
to fix it, need initialize or layout after items have proper size. add code:
$('.panel').on('shown.bs.collapse', function (e) { $grid.isotope('layout'); })
Comments
Post a Comment