kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.54k stars 5.89k forks source link

Adaptive height not working when showing 2 slides at a time #3996

Open petarthewizard opened 4 years ago

petarthewizard commented 4 years ago

Adaptive height not working when showing 2 slides at a time

====================================================================

Here is JSFiddle replicating the issue: https://jsfiddle.net/petarvasilev/p580kjg9/6/

====================================================================

Steps to reproduce the problem

  1. Create slider
  2. In the options set it to show 2 slides at a time
  3. Have one slide to be taller than the others

====================================================================

What is the expected behaviour?

Slick should adapt the height of the slider depending on the height of the 2 current slides.

====================================================================

What is observed behaviour?

Slick doesn't adapt the height.

====================================================================

More Details

Tested in Chrome 79. Slick 1.8.1 jQuery 3.4.1

techtribz commented 4 months ago

https://stackoverflow.com/questions/63153364/slick-carousel-adaptive-height-not-working-when-showing-2-slides