short description of the bug / issue, provide more detail below.
Using Bootstrap (4 alpha) nav-tabs I am loading a slick slider in each tab. Searching the issues on this GitHub, I have found several small edits to make the sliders work -even though the inactive tabs are hidden-.
However, after navigating through the active tab and clicking the inactive tab, the items are not aligned in the center as I expected them to be. When scrolling through the items / waiting for the items to scroll, they scroll super-fast and are aligned properly again.
The JDfiddle reproducing the issue:
https://jsfiddle.net/xncowbLL/2/
That the items are always properly aligned
Note: It could very well be an issue I am causing myself, I do not know a lot about JavaScript/jQuery and I am learning as I go. I hope someone out here can help me fix this odd behaviour :)
Changed line 55 to $('.slick-slider').slick('setPosition'); and it worked. Hope that helps!
Perfect, thanks a bunch!
@leggomuhgreggo Thank you so much
Most helpful comment
Changed line 55 to
$('.slick-slider').slick('setPosition');and it worked. Hope that helps!