kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.34k stars 5.88k forks source link

Slick sets hundreds of timeouts/intervals #4140

Open APabisz opened 2 years ago

APabisz commented 2 years ago

Using the Slick library on our page causes the appearance of hundreds of timeouts and setintervals. Interaction with sliders also frozes page for hundred of ms and there is a delay. Is there something wrong with your library which contains some timeouts and intevals or we are not using this library properly?

====================================================================

Steps to reproduce the problem

  1. Visit https://justidea.agency/
  2. Open dev tools and watch the console logs
  3. Try to slide the sliders - it is being delayed

Especially on mobile devices it causes strong page clipping.

image

====================================================================

What is the expected behaviour?

  1. Limiting the amount of timeouts and setintervals
  2. Having sliders that do not affect the speed of the website

====================================================================

More Details

naton commented 2 years ago

I don't see any errors? Maybe this issue needs an update? :)