akiran / akiran/react-slick

"slide" Setting Doesn't Work

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

説明

It seems like the "slide" setting doesn't work. In the documentation it says:

slide
Type: string
Default: 'div'
Description: Slide container type

However when I try to change the slide container type to a section element instead it remains a div. Also I notice that when I set the react key prop on each slide it doesn't work. The key prop seems to be getting set to something different to what I set.

Here is my example that is attempting to change the slide container type to a section element.
https://codesandbox.io/s/react-slick-playground-forked-jylzjv

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

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

評価

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

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

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