kenwheeler / slick

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

Load slider with no items slick-current slick-active #4063

Open drgnbear opened 3 years ago

drgnbear commented 3 years ago

short description of the bug / issue, provide more detail below.

I need a way to prevent the slider from pre-selecting the first slide on page load. I have it linked to map items on a google map and one or the other needs a USER to click to activate it, but I can't figure out how to keep the first slide from being selected on load.

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

[ paste your jsfiddle link here ]

use this jsfiddle to reproduce your bug: http://jsfiddle.net/simeydotme/fmo50w7n/ we will likely close your issue without it.

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

Steps to reproduce the problem

  1. ...
  2. ...

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

What is the expected behaviour?

...

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

What is observed behaviour?

...

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

More Details