Skip to content

"slick-current" is always on first slide despite initialSlide != 0 #1874

Closed
@adroste

Description

@adroste

v0.27.9

If I set initialSlide to something != 0, the internal index as well as the css class "slick-center" are set correctly.
However, the css class "slick-current" is on the wrong element. It is always on the first one.
In the example picture below the slider was rendered with initialSlide = 2.

Screenshot 2020-08-17 at 18 54 33

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions