Slick: Vertical Center mode

Created on 22 Mar 2016  路  2Comments  路  Source: kenwheeler/slick

When center mode and vertical mode are true, the centered slide shown is not the active slide. As shown in the jsfiddle, it starts on slide 6, but the active slide (as shown in the dots) is slide 1.
When you use the "slickCurrentSlide" method, it returns the correct slide, but unfortunately the slide shown as the main one in the view is always a slide behind.

http://jsfiddle.net/7Lyr8o2q/

Steps to reproduce the problem

  1. Vertical and center mode set to true.

What is the expected behaviour?

The slide shown first is slide 0. The centered slide should always be the "current" slide, as shown in the dots and when you use the "currentSlide" method.

What is observed behaviour?

The slide that is shown is always one behind the actually current or active slide.

More Details

  • Which browsers/versions does it happen on?
  • Which jQuery/Slick version are you using?
  • Did this work before?
Confirmed Center Mode

Most helpful comment

All 2 comments

Same Issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Libig picture Libig  路  3Comments

barzev picture barzev  路  3Comments

jamesinealing picture jamesinealing  路  3Comments

stephane-r picture stephane-r  路  3Comments

msavov picture msavov  路  3Comments