My bootstrap navigation includes a dropdown in which I want to integrate a slick slider.
However, all the items get displayed together when the dropdown is opened.
The slider functions properly outside of the dropdown and also works when the dropdown has the 'show' class added to it.
Slick JS code:
$(document).ready(function(){
$('.slider').slick({
infinite: true,
slidesToShow: 3,
slidesToScroll: 3,
});
});
I would appreciate any help with this issue!