Multiple slide doesnt show
See original GitHub issueIt only shows one slide. here is my code
https://codesandbox.io/s/wonderful-thompson-jp3p1?file=/src/App.js:0-963
import React, { useState } from "react";
import "./styles.css";
import Carousel, {
slidesToShowPlugin,
slidesToScrollPlugin
} from "@brainhubeu/react-carousel";
import "@brainhubeu/react-carousel/lib/style.css";
const Item = ({ name }) => {
return <div className="item">{name}</div>;
};
const MyCarouselWithDots = () => {
const [value, setValue] = useState(0);
const onChange = (value) => {
setValue(value);
};
return (
<Carousel
plugins={[
"centered",
"infinite",
"arrows",
{
resolve: slidesToShowPlugin,
options: {
numberOfSlides: 2
}
},
{
resolve: slidesToScrollPlugin,
options: {
numberOfSlides: 2
}
}
]}
>
{Array(7)
.fill("")
.map((e, i) => (
<Item key={i} name={i + 1} />
))}
</Carousel>
);
};
export default MyCarouselWithDots;
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:5
Top Results From Across the Web
PPT does not show all the slides when I do the slide show
Show activity on this post. Go to the Slide Show menu, click Set Up Show. In Show Slide select ALL and Click OK....
Read more >Troubleshooting PowerPoint Slide Numbering: How to fix ...
The Header and Footer dialogue box will open. If the 'Don't show on title slide' box is checked, the slide number will not...
Read more >Slides don't show in Slide Show View - Steve Rindsberg/RDP
Go to Slide Show | Set up Slide Show. In the Show Slides section, choose All. The other options will cause PowerPoint to...
Read more >Add, rearrange, duplicate, and delete slides in PowerPoint
For multiple slides: Press and hold Ctrl, and in the thumbnail pane on the left, select the slides. Release the Ctrl key.
Read more >PowerPoint Slide Doesnt Move! - Presentation Process
Solution: Go to your slideshow tab > Custom Slideshow and check if you have any listed there and remove them. You would set...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @hungdev ,
In your package.json file “@brainhubeu/react-carousel”: “1.19.26” When you use “npm i @brainhubeu/react-carousel” it will setup this version (1.19.26). But you must use v.2
Install it manually; “@brainhubeu/react-carousel”: “2.0.1”
It solved my issue. Have a nice day
@sinangurbuz you are right! thank you.