Why do artifacts appear when slide from last to first and from first to last? I tried with Swiper slider, but it was the same. Is it because of large images or what? If you deactivate infinity, everything will be okay, but I need infinity.
Here is the JS-code:
var simpleSliderInner = $(".simple-slider__inner");
simpleSliderInner.slick({
prevArrow: "<button class=\"simple-slider__arrow simple-slider__arrow_prev\">" +
"<svg class=\"icon icon_sprite_arrow_slider\">" +
"<use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#sprite_arrow_slider\"></use>" +
"</svg>" +
"</button>",
nextArrow: "<button class=\"simple-slider__arrow simple-slider__arrow_next\">" +
"<svg class=\"icon icon_sprite_arrow_slider\">" +
"<use xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"#sprite_arrow_slider\"></use>" +
"</svg>" +
"</button>",
dots: true,
dotsClass: "simple-slider__dots",
responsive: [
{
breakpoint: 1024,
settings: {
arrows: false
}
}
]
});