ページに Isotope があり、独立して動作します。ページに InfiniteScroll があり、独立して動作します。InfiniteScroll が新しいアイテムをロードするとき、それらをコンテナーに追加しますが、レイアウトに適切に配置されるのではなく、コンテナーの左側の 1 つの列にすべて表示されます。ここに私のJSがあります:
$(function() {
var container = $('#wall .page');
container.isotope({
itemSelector: '.brick'
});
container.infinitescroll({
navSelector: "nav.pagination",
nextSelector: "nav.pagination a[rel=next]",
itemSelector: ".brick",
loading: {
finishedMsg: 'No more items to load.',
img: 'http://i.imgur.com/qkKy8.gif'
}
}, function (newElements) {
container.isotope('appended', $(newElements));
});
});
Isotope は最初のページの最初の項目を問題なく処理するため、これが CSS または html の問題であるとは信じがたいです。必要な情報をお知らせいただければ、より多くの情報を提供させていただきます。