{"action":"created","issue":{"url":"https://api.github.com/repos/metafizzy/isotope/issues/1246","repository_url":"https://api.github.com/repos/metafizzy/isotope","labels_url":"https://api.github.com/repos/metafizzy/isotope/issues/1246/labels{/name}","comments_url":"https://api.github.com/repos/metafizzy/isotope/issues/1246/comments","events_url":"https://api.github.com/repos/metafizzy/isotope/issues/1246/events","html_url":"https://github.com/metafizzy/isotope/issues/1246","id":220383907,"number":1246,"title":"imagesLoaded is Not Working With Filters.","user":{"login":"tayfunefendi","id":27053268,"avatar_url":"https://avatars2.githubusercontent.com/u/27053268?v=3","gravatar_id":"","url":"https://api.github.com/users/tayfunefendi","html_url":"https://github.com/tayfunefendi","followers_url":"https://api.github.com/users/tayfunefendi/followers","following_url":"https://api.github.com/users/tayfunefendi/following{/other_user}","gists_url":"https://api.github.com/users/tayfunefendi/gists{/gist_id}","starred_url":"https://api.github.com/users/tayfunefendi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tayfunefendi/subscriptions","organizations_url":"https://api.github.com/users/tayfunefendi/orgs","repos_url":"https://api.github.com/users/tayfunefendi/repos","events_url":"https://api.github.com/users/tayfunefendi/events{/privacy}","received_events_url":"https://api.github.com/users/tayfunefendi/received_events","type":"User","site_admin":false},"labels":[{"id":12354004,"url":"https://api.github.com/repos/metafizzy/isotope/labels/test%20case%20required","name":"test case required","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-08T08:00:15Z","updated_at":"2017-04-10T18:25:19Z","closed_at":null,"body":"When I try to use imagesLoaded, filters are not working. When i disable imagesLoaded, all images are overlapping. Any ideas?\r\n\r\nHere is my codes without imagesLoaded:\r\n`var $container=$(\".portfolio-content\");$container.isotope({itemSelector:\".portfolio-items\",layoutMode:\"fitRows\"});$(\"#filters\").on(\"click\",\"a\",function(){var a=$(this).attr(\"data-filter\");$container.isotope({filter:a})});$(\".button-group\").each(function(b,a){var c=$(a);c.on(\"click\",\"a\",function(){c.find(\".is-checked\").removeClass(\"is-checked\");$(this).addClass(\"is-checked\")})});`\r\n\r\nWhen I change the codes with codes below, filters are down.\r\n`var $container = $('.portfolio-content');\r\n$container.imagesLoaded( function() {\r\n$container.isotope({\r\nitemSelector: '.portfolio-items',\r\n layoutMode: 'fitRows'\r\n});\r\n}); $(\"#filters\").on(\"click\",\"a\",function(){var a=$(this).attr(\"data-filter\");\r\n\t$container.isotope({filter:a})});\r\n\t$(\".button-group\").each(function(b,a){var c=$(a);\r\n\tc.on(\"click\",\"a\",function(){c.find(\".is-checked\").removeClass(\"is-checked\");$(this).addClass(\"is-checked\")})});`\r\n"},"comment":{"url":"https://api.github.com/repos/metafizzy/isotope/issues/comments/293036501","html_url":"https://github.com/metafizzy/isotope/issues/1246#issuecomment-293036501","issue_url":"https://api.github.com/repos/metafizzy/isotope/issues/1246","id":293036501,"user":{"login":"desandro","id":85566,"avatar_url":"https://avatars3.githubusercontent.com/u/85566?v=3","gravatar_id":"","url":"https://api.github.com/users/desandro","html_url":"https://github.com/desandro","followers_url":"https://api.github.com/users/desandro/followers","following_url":"https://api.github.com/users/desandro/following{/other_user}","gists_url":"https://api.github.com/users/desandro/gists{/gist_id}","starred_url":"https://api.github.com/users/desandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desandro/subscriptions","organizations_url":"https://api.github.com/users/desandro/orgs","repos_url":"https://api.github.com/users/desandro/repos","events_url":"https://api.github.com/users/desandro/events{/privacy}","received_events_url":"https://api.github.com/users/desandro/received_events","type":"User","site_admin":false},"created_at":"2017-04-10T18:25:19Z","updated_at":"2017-04-10T18:25:19Z","body":"I'm sorry to see you're having trouble with Isotope. Could you provide a **reduced test case**? See [Submitting Issues in the contributing guidelines](https://github.com/metafizzy/isotope/blob/master/.github/contributing.md#submitting-issues)."}}
{"actor":{"display_login":"desandro"}}