kenwheeler / slick

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

Slick jump when move from last to first slide #3508

Open bondardevelop opened 6 years ago

bondardevelop commented 6 years ago

When slides are moving from last to first or from first to last, slider is jumping

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

https://codepen.io/bondardevelop/pen/ZjOEaZ

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

Codevz commented 6 years ago

Take a loot at this https://github.com/kenwheeler/slick/issues/3419

bondardevelop commented 6 years ago

@Codevz , it's not help

doricigor commented 4 years ago

@bondardevelop did you find solution for this problem?

faisaljanjuah commented 1 month ago

Guys I know this is really old issue and may be it is out of date but just for help, The issue is when you target multiple classes for center like: .slick-slide.slick-active.slick-current.slick-center

this will cause issue.

solution is just target only center class like this

.slick-slide.slick-center {
    transform: scale(1.3);
}
.slick-slide {
    transition: all ease .3s;
}

look at demo: https://jsfiddle.net/faisaljanjuah/9fffrd1r/