Skip to content

Commit be0902d

Browse files
committed
fix masonry
1 parent 86ba0e3 commit be0902d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## Unreleased
9+
10+
### Fixed
11+
- Fix for a rare race condition with masonry where tiles could end up overlapping in space page.
12+
813
## 1.20.1 - 2022-04-04
914

1015
### Fixed

app/views/spaces/space.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h3>@Messages("collections.title")</h3>
148148
match.masonry();
149149

150150
// layout Masonry again after all images have loaded
151-
imagesLoaded( '.tiled-image', function() {
151+
imagesLoaded( match, function() {
152152
match.masonry({
153153
itemSelector: '.tiled-image',
154154
columnWidth: '.post-box',

0 commit comments

Comments
 (0)