{"action":"opened","issue":{"url":"https://api.github.com/repos/desandro/masonry/issues/888","repository_url":"https://api.github.com/repos/desandro/masonry","labels_url":"https://api.github.com/repos/desandro/masonry/issues/888/labels{/name}","comments_url":"https://api.github.com/repos/desandro/masonry/issues/888/comments","events_url":"https://api.github.com/repos/desandro/masonry/issues/888/events","html_url":"https://github.com/desandro/masonry/issues/888","id":171056771,"number":888,"title":"Alignment of Masonry same hight items jumps right/left","user":{"login":"tillinb","id":18309090,"avatar_url":"https://avatars.githubusercontent.com/u/18309090?v=3","gravatar_id":"","url":"https://api.github.com/users/tillinb","html_url":"https://github.com/tillinb","followers_url":"https://api.github.com/users/tillinb/followers","following_url":"https://api.github.com/users/tillinb/following{/other_user}","gists_url":"https://api.github.com/users/tillinb/gists{/gist_id}","starred_url":"https://api.github.com/users/tillinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tillinb/subscriptions","organizations_url":"https://api.github.com/users/tillinb/orgs","repos_url":"https://api.github.com/users/tillinb/repos","events_url":"https://api.github.com/users/tillinb/events{/privacy}","received_events_url":"https://api.github.com/users/tillinb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-14T12:39:52Z","updated_at":"2016-08-14T12:39:52Z","closed_at":null,"body":"Hi,\r\nI have tried to \"reconstruct\" the bug in a test case in codepen – but there everything seems to be working just fine:\r\n\r\nhttp://codepen.io/tillinberlin/pen/AXNbGO\r\n\r\nThe problem I have in a page I'm working on is that a couple of same height boxes is sometimes aligning (correctly) to the left, but then again sometimes to the right. \r\n\r\nhttp://runolagomarsino.com.dd14916.kasserver.com/\r\n\r\nThe boxes have a \"min-height\" – when I use \"height\" instead, it's working just fine. Currently my best guess is that it has something to do with how masonry perceives the element height – and probably the delay caused by loading external css/js is enough to let masonry get slightly wrong heights. I know this could be solved by using imagesLoaded (as I do) but since there is no images in my front page news items, imagesLoaded probably won't help much.\r\n\r\nThe problem seems to be only appearing when cache is empty. A simple reload will then fix the positioning from right to left. \r\n\r\n![screen shot 2016-08-14 at 14 37 25](https://cloud.githubusercontent.com/assets/18309090/17649141/e583b326-622c-11e6-9ba9-182911638722.png)\r\n![screen shot 2016-08-14 at 14 37 16](https://cloud.githubusercontent.com/assets/18309090/17649142/e589ed90-622c-11e6-82a2-59e6fe6cc174.png)\r\n"}}
{"actor":{"display_login":"tillinb"}}