Closed anakadote closed 2 months ago
A workaround to the smoothHeight issue is to apply this functionality manually in the 'after' callback:
reverse: true,
smoothHeight: false,
after: function(slider) {
var curSlide = slider.find('.slide').eq(slider.currentSlide);
slider.find('.flex-viewport').height(curSlide.height());
}
Simple to test, just set the 'reverse' config option to 'true' and then then 'flex-active-slide' class will no longer be applied to the correct/current slide. This in turn causes the 'smoothHeight' functionality to not work correctly as well.