kenwheeler / slick

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

Unable to modify settings that are defined using data-slick="...." #4119

Open skru opened 3 years ago

skru commented 3 years ago

Unable to modify data-slick attribute more than once

use this jsfiddle to reproduce your bug: https://jsfiddle.net/jmohan/s3uyenwb/2/ we will likely close your issue without it.

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

Steps to reproduce the problem

  1. go to jsfiddle
  2. swipe slide (slides will slide)
  3. click "fade" button.
  4. swipe slide (slides fade)
  5. click "swipe" button.
  6. swipe slides (slides remain in fading state)

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

What is the expected behaviour?

... Slides should slide after setting the data-slide attribute back to "fade" false

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

What is observed behaviour?

... Slides retain "fade" true state

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

More Details

jQuery 3.1.1 slick 1.8.1