slick slider init while hidden code example
Example: slick slider loading issue
add class "slick-slide" to each slide wrapper in your HTML and it is solved :)
.slick-slide has display: none; in slick.css, and .slick-initialized .slick-slide has display: block;