akiran / akiran/react-slick

centerMode not working properly with dynamic widths

Aperta
#1,944 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I want the items in the carousel to have the same width when on mobile like this:
https://i.ibb.co/nmJcgmB/Untitled.png

It should change based on how much space is available.

And this is my codesandbox, there is no way I can get something similar to happen. I think it has to do with the width, can another option be added to handle this problem?
https://codesandbox.io/s/elated-hill-ktx5q?resolutionWidth=448&resolutionHeight=675&file=/src/slider.scss:0-7163

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.