brainhubeu / react-carousel

A pure extendable React carousel, powered by Brainhub (craftsmen who ❤️ JS)

Home Page:https://brainhub.eu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too many carousel items

Lagicrus opened this issue · comments

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

  • desktop
  • Chrome

Same issue here :/

Same issue (-_-)

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