I know there is this question. The proposed solution doesn't work for Bootstrap 3 unfortunately (although it does for bs 2.3.1). So how would I do it there?
It's possible to fix this with a simple JavaScript-Snippet:
function bsCarouselAnimHeight()
{
$('.carousel').carousel({
interval: 5000
}).on('slide.bs.carousel', function (e)
{
var nextH = $(e.relatedTarget).height();
$(this).find('.active.item').parent().animate({ height: nextH }, 500);
});
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With