I have a slick with the following options :
var slick = this.container.slick({
vertical: true,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
arrows: false,
slidesToShow: 10,
});
Please provide a JSFiddle showing the error. As mentioned in the Contribution Guidelines :)
Thanks, Si.
I cannot reproduce it in a JSFiddle :(
Maybe that just happens because of other wrapping containers over the slick, it really strange how it does not take the correct height right after creating the slick object.
OK, i did found why it was happening. It was because i modified the slick.css to use
display:flexfor classes
.slick-vertical .slick-slideand
..slick-initialized .slick-slide
Just as a quick fix for anyone that maybe encounter the same problem with flex containers, you just have to wrap your flex containers into other non-flex container so that you keep the flex grid for all the rows child items. I assume this isn't a bug and it can be closed
Thanks for leaving the solution for other users! @rodofatos :bow:
@rodofatos, thanks for help!
Thanks a lot @rodofatos 馃檶
Had this problem very recently and I've solved it differently.
Placing the slick functions inside a jquery $(document).ready() function did the trick.
Most helpful comment
OK, i did found why it was happening. It was because i modified the slick.css to use
for classes and