If I use an image gallery element with masonry layout in a popup-template which is set to “Fetch content via AJAX”, the spacing and masonry layout works fine for the first opening. but after closing and open it again, the spacing is missing and the layout is broken.
Disabling the AJAX solves it.
No Problem with AJAX and the other layouts though.
I’m up to date with all WordPress and Plugins/Bricks.
To see the error use the Galerie-button top right inside the image.
I use an acf-gallery-field as image-source.