akiran / akiran/react-slick

"slide" Setting Doesn't Work

未关闭
#2,148 3 条评论 2 个 reaction 已指派 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 摘要。