We are using a multiple column flex layout. Each line columns are displayed.
Through the use of infinite scroll thats add an extra level between wrapper and content flex is not working anymore.
Is it possible to not add an extra level? Instead add the class directly to the viewwrapper?
Our Solution at the moment is a javascript that adds a class to the infinite-scroll-content-wrapper.
In Internet Explorer 11 we had to delete the extra row classes so that the columns are correctly displayed.
// infinite scroll display row | and IE 11 problems
$(document).ready(function () {
$('.views-infinite-scroll-content-wrapper').addClass('row');
var isAtLeastIE11 = !!(navigator.userAgent.match(/Trident/) && !navigator.userAgent.match(/MSIE/));
if (isAtLeastIE11 == true) {
$('.views-infinite-scroll-content-wrapper').parent().removeClass('row');
$('.aktuelle-ausgabe-uebersicht').children('.view-content').removeClass('row');
}
else {
// empty
}
});
Comments
Comment #2
anybodyPlease contribute to #3098132: [MASTER] Handle style plugin specific wrappers around views rows properly to find a clever solution and write tests for all core and contrib views style plugins. :)
Comment #3
simgui8 commentedYou may also add a class the same way infinite scroll does it :
Comment #4
neslee canil pintoAs per #3 i am closing this issue. Feel free to post here.