Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center mode bug - slide to show, #2696

Open
metju90 opened this issue Jan 12, 2017 · 2 comments
Open

Center mode bug - slide to show, #2696

metju90 opened this issue Jan 12, 2017 · 2 comments

Comments

@metju90
Copy link

metju90 commented Jan 12, 2017

On medium and large screen (laptop and 32" monitor) slidesToShow was working only when the value was even on centerMode.

When I placed my code in jsfiddle it was working on odd numbers but on event it did not.

In both places, the right image still gets the 'slick-active' class when it should not be the case.

http://jsfiddle.net/fmo50w7n/831/

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

Steps to reproduce the problem

  1. ...
  2. ...

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

What is the expected behaviour?

The right image should not have 'slick-active' class. The behavior is correct when the slidesToShow value is changed from even to odd in jsfiddle. The other way round on bigger screens ( odd to even )

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

What is observed behaviour?

...

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

More Details

  • Which browsers/versions does it happen on?
    chrome
  • Which jQuery/Slick version are you using?
    1.6
  • Did this work before?
    first time using it.
@ghost
Copy link

ghost commented Feb 11, 2017

I think is the same issue I have, if you have less than 5 items, those classes are added wrong.

@darcyvoutt
Copy link

@adi8i @metju90 have you found any resolution in the interim?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants