Various cases have been reported with masonry breaking after ajax process :
- views infinite scroll adding new items #2853260: Conflict with views_infinite_scroll contrib module (and maybe others)
- ajax views with exposed filter #2985138: Masonry not initialized after ajax callback
- window resize #2859372: $container breaks responsive
- etc..

None of the patches in the issues actually solves it all. So the purpose here is to gather all contributions and credit all helpers plus do the actual fixing.

CommentFileSizeAuthor
#20 MASONRY_PATCH_AJAX_RELOAD.patch6.97 KBdhim712

Issue fork masonry-3158162

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Dom. created an issue. See original summary.

dom.’s picture

Dom. credited DanielVeza.

dom.’s picture

dom.’s picture

Dom. credited Mile23.

dom.’s picture

dom.’s picture

Dom. credited olivier.br.

dom.’s picture

Dom. credited tinko.

dom.’s picture

  • Dom. committed 87054c7 on 8.x-1.x
    Issue #3158162 by Dom., DanielVeza, Dylan Donkersgoed, daniel....
dom.’s picture

Status: Active » Fixed

Will be included in next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dhim712 made their first commit to this issue’s fork.

dhim712’s picture

StatusFileSize
new6.97 KB

Hello Dom,

From #17, does this commit https://git.drupalcode.org/project/masonry/-/commit/87054c7692e2f02b0e51... solves the issues and can be merged, or used as a patch