C
C
CrystalClear2018-07-04 15:09:47
css
CrystalClear, 2018-07-04 15:09:47

How to properly display slickslider after display none?

Hello, there is such a problem: the initialization of the slider after display none is not correct. What is the best way to fix this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
iBird Rose, 2018-07-04
@iiiBird

$('.slider').slick('setPosition');

V
Viktor, 2018-07-04
@futior

On the event that removes display: none, hang reinitialization.
.slick('unslick').slick(options);

T
tyzberd, 2018-07-04
@tyzberd

https://github.com/kenwheeler/slick/issues/547

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question