Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

122
Views
How to prevent slick slider stopping when it is clicked several times?

I have created a slider with some image items that is infinitely scrolling with autoplay. I've disabled pause on hover and i want to prevent every single event that would trigger it to stop.

One specific thing with that is when I'm clicking on it several times, then it stops and i can drag it. I don't want this behaviour and i thing I've done everything to prevent it. I want it to be unstoppable

Those are mine Slick Carousel setting:

$(document).ready(() => {
 $('.clients-slider').slick({
 infinite: false,
 slidesToShow: 6,
 slidesToScroll: 1,
 autoplay: true,
 speed: 5000,
 draggable: false,
 swipe: false,
 swipeToSlide: false,
 centerMode: false,
 arrows: false,
 dots: false,
 focusOnSelect: false,
 accessibility: false,
 touchMove: false,
 pauseOnHover: false,
 pauseOnFocus: false,
 pauseOnSwipe: false, 
 cssEase: 'linear',
responsive: [
  {
    breakpoint: 1366,
    settings: {
      slidesToShow: 4
    }
  },
  {
    breakpoint: 768,
    settings: {
      slidesToShow: 3
    }
  }
],
});
});

Here is my html/php code (I'm doing it in wordpress):

<section class="clients" id="clients">
<h2 class="offer-head" style="max-width: 1300px;margin-left:auto;margin-right:auto;"><?php echo $partnerzy; ?></h2>
<div class="clients-slider" pause-on-hover="false" draggable="false">
    <?php if( have_rows('slajder_partnerzy') ): ?>
        <?php while( have_rows('slajder_partnerzy') ): the_row(); ?>
            <img  class="clients-slide-single" src="<?php echo get_sub_field('partner_logo'); ?>" alt="logo-client" />
        <?php endwhile ?>
    <?php endif ?>    
</div> 

Can anyone relate on this? Of course I'm properly importing jquery and slick carousel library.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!