-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"slide" Setting Doesn't Work #2148
Comments
It is not much clear about the issue. But we can use slide attributes with other relevant attributes. And it is good to post what kind of Carousel component you tried to use?? I have posted some code below. I think you can get an idea from it. var settings = { return ( <Slider {...settings}> {
); export default App;` |
I also believe that the |
there is no |
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
The text was updated successfully, but these errors were encountered: