I've been struggling with this issue for more than a day now, and despite searching through similar posts and trying their solutions, I still haven't been able to resolve it.
Here's an example of the problem: https://jsfiddle.net/Aorus/1c4xbpvr/7/
$(function() {
var isoGrid;
var carousel = $(".portfolio-item-slide");
var $container = $('.showcasegrid').imagesLoaded(function() {
$isoGrid = $container.isotope({
itemSelector: '.grid-item'
//layoutMode: 'fitRows'
});
// bind filter button click
$('.iso-filters-button-group').on('click', 'button', function() {
var filterValue = $(this).attr('data-filter');
$container.isotope({
filter: filterValue
});
});
// other code here...
});
});
Try filtering a few times quickly and you may notice the "1px image height" issue, which resolves itself upon transitioning to the next slide.
Plugins being used:
Slick -
Isotope -
Bootstrap - https://getbootstrap.com/docs/4.0/getting-started/introduction/
The solution I attempted: Using the Slick Carousel with a background image in a Isotope (masonry) grid - height of slides becomes 1px
Who will come to my rescue and fix this pesky bug?
Thank you in advance!