Closed GenieTim closed 5 years ago
Thanks for reporting this issue and providing a test case! If you make a change to the size of an item element, like expanding a details
element, you'll have to trigger layout
on the details toggle
event
$grid.find('details').on( 'toggle', function() {
$grid.masonry();
});
See demo https://codepen.io/desandro/pen/4fcade9e0d20b359b74a8d78e05e1cf7
Alright, thanks!
Test case: https://codepen.io/BernhardWebstudio/pen/YdNLKa
With a
<details>
element in place, Masonry fails to realign on extension of thedetails
-element. Might be a no-fix, in which case I would like to request a documentation adjustment.