V
V
Vashka12020-03-19 00:14:25
JavaScript
Vashka1, 2020-03-19 00:14:25

Slick Slider, replacement of standard dots not working?

I am replacing the standard dots. Now I found that when I pressed these buttons, it stopped switching. At the same time, when you swipe, it works. questContentPhotos__Radios is dots

$('.questContentPhotos__Radios').slick({
 dots: false,
 infinite: true,
 speed: 300,
 slidesToShow: 1,
 variableWidth: true,
 asNavFor: '.questContentPhotos__Slider'
});

$('.questContentPhotos__Slider').slick({
  dots : false,
  arrows: true,
  slidesToScroll:1,
  slidesToShow:1,
  infinite:true,
  swipe:true,
  asNavFor: '.questContentPhotos__Radios'
});

Link to the page where the slider is located: https://vashkaweb.ru/work/quest1/quest.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vashka1, 2020-03-19
@Vashka1

It was necessary to add a property to dots: focusOnSelect: true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question