brainhubeu / react-carousel

A pure extendable React carousel, powered by Brainhub (craftsmen who ❤️ JS)
https://brainhub.eu/
MIT License
1.07k stars 164 forks source link

Too many carousel items #665

Open Lagicrus opened 3 years ago

Lagicrus commented 3 years ago

Describe the bug I have 34 Carousel Items were there should only be 5 visible

To Reproduce Create a basic carousel (with say 5 children), then enabled infinite This can also be seen by going to the docs and removing infinite from the JSX, the children count shrink down to just 3 instead of the many there were.

Expected behaviour 5 children that it rotates between

Screenshots image

Environment System: OS: Windows 10 10.0.20279 CPU: (12) x64 AMD Ryzen 5 1600 Six-Core Processor Memory: 12.31 GB / 31.95 GB Binaries: Node: 12.14.1 - E:\Program Files\nodejs\node.EXE npm: 6.14.10 - E:\OneDrive\GitHub\talespire\site\node_modules.bin\npm.CMD Browsers: Chrome: 87.0.4280.88 Edge: Spartan (44.20279.1.0) Internet Explorer: 11.0.20279.1 npmPackages: @brainhubeu/react-carousel: ^1.19.26 => 1.19.26

bunge12 commented 3 years ago

Same issue here :/

marouane-edghoughi commented 3 years ago

Same issue (-_-)

vittau commented 3 years ago

Same problem, it just keeps adding more and more items as it scrolls.