akiran / akiran/react-slick

centerMode and slidesToShow dont seem to work properly.

Offen
#2,064 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

What I want to achieve is have 2 slides to show with centerMode:true and centerPadding: 10%. But i want my active/centered slides to have a different height. I 've looked around and saw some examples where people achieved it with css. Now when inspecting the html on the browser during center more only the last of the focused items seems to receive the appropriate slick-centered class.

Example sandbox from the playground one: https://codesandbox.io/s/react-slick-playground-forked-6lfs1?file=/index.js

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.