kenwheeler / slick

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

Slick vertical content has been cut off below #4281

Open graydirt opened 11 months ago

graydirt commented 11 months ago

short description of the bug / issue, provide more detail below.

I have 14 items/steps in the slick, however if I click the last dots item it shows the step 13 and the step 14 content has been cut off. Any ideas or suggestions how to fix it?

Setting the height of slick-list to 100% is not applicable.

See the image below, the step14 content has been cut off.

image

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

[ paste your codepen link here ]

use this codepen to reproduce your bug: full page preview: https://codepen.io/graydirt/full/rNPWMvO

code: https://codepen.io/graydirt/pen/rNPWMvO

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

More Details

graydirt commented 10 months ago

Im going to answer my own question and the only fixes that I know is to add the height and overflow-y on slick-slide, see the updated code below.

Any ideas or suggestions on how to fix it are still open.

https://codepen.io/graydirt/pen/rNPWMvO

Updated code on slick-slide.

.slider-style-2.slick-vertical .slick-slide {
    opacity:.5;
    cursor:pointer;
    height: 100px !important;
    overflow-y : auto !important;
}