Description
short description of the bug / issue, provide more detail below.
_.buildDots() should be called in setPostion():
however, by doing that, the behavior of the dots does not work after using the slider.
http://jsfiddle.net/fmo50w7n/1311/
calling _.build after setPosition where the dots no longer work properly:
http://jsfiddle.net/fmo50w7n/1313/
====================================================================
Steps to reproduce the problem
Initial:
slider.slick({
infinite: false,
draggable: false,
slidesToShow: 3,
autoplay: false,
dots: true
});
Then:
slider.slick('slickSetOption', 'slidesToShow', 1);
slider.slick('setPosition');
====================================================================
What is the expected behaviour?
Number of dots under Slider should be re-calculated since going from 3 to 2 Slides per page changes how many dots should be shown.
====================================================================
What is observed behaviour?
Number of dots is based on initial slidesToShow. Aafter using method to change slidesToShow the number of dot is not recalculated.
====================================================================
More Details
jQuery 3.0, Slick 1.7.0