akiran / akiran/react-slick

centerMode not working properly with dynamic widths

オープン
#1,944 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。