kenwheeler / slick

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

2 synced sliders, one goes in the wrong direction #4105

Open emmekkappa opened 3 years ago

emmekkappa commented 3 years ago

2 synced sliders, the first one goes in the wrong direction after a while (I haven't included the images for the second slider because it works, the problem is just with the first and it's visible in the jsfiddle)

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

[ https://jsfiddle.net/emmekkappa/fm2b9Lnq/10/ ]

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. Create one vertical, only text slider, autoplay, no arrows/dots
  2. Create a fade slider, autoplay, no arrows/dots
  3. Sync the second to the first

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

What is the expected behaviour?

The text slides of the first slider should keep on moving upwards smoothly, while the second fades in sync.

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

What is observed behaviour?

The first slider moves upwards, but one slide goes in the wrong direction after a while, ie down instead of going up.

This doesn't happen before the sync, the first slider goes in the right direction on its own. The only problem is a gap between the last and the first slide, which I'd like to eliminate.

It seems this issue too happens between that last and the first slide.

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

More Details