akiran / akiran/react-slick

"slide" Setting Doesn't Work

Open
#2,148 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.