Slick slider height on page load not correct

I am working with Slick slider for a product carousel, the only problem is when the Slick is initalized, there is additional whitespace at the bottom of the content block on page load only, when navigating away and back again, the height corrects itself.

I have tried setting the height of the the slick-track div, but seems a bit hacky.

enter image description here

on page load - incorrect CSS



from Recent Questions - Stack Overflow https://ift.tt/2M9HkQw
https://ift.tt/36egYUn

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations