S
S
SPART4K2020-09-17 15:41:06
Slick
SPART4K, 2020-09-17 15:41:06

How to adapt the slider to the size of dynamic content?

I have a slick slider which has content with the ability to expand elements when clicked.
5f6358ec5331d732590076.jpeg
The problem is that when opening/closing an element, the slider does not adapt its height. Slider
5f63590da19b9325731355.jpeg5f6359204be77940156510.jpeg
code

$('.one-time').slick({
  dots: true,
  infinite: true,
  speed: 300,
  slidesToShow: 1,
  adaptiveHeight: true
});

Is there any option to fix this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question