YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.25k stars 286 forks source link

autoplay after action #375

Open Andrii-Pavlenko opened 1 year ago

Andrii-Pavlenko commented 1 year ago

Hi @YIZHUANG, autoplay stops when you hover an item, but for some reason it starts autoplaying after clicking on item. My current version of package is 2.8.2, node version 16.15.0, npm version 8.5.5. You could try it on your demo page

https://react-multi-carousel.surge.sh/?selectedKind=Carousel&selectedStory=Auto%20play%20in%20infinite%20mode&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

so while it is playing it stops on hover and after clicking on item it starts playing again, but I still hovering on picutre, so how to continue not playing while I'm hovering and clicking on it at once

miguelcorreia19 commented 1 year ago

+1

YIZHUANG commented 1 year ago

A fix is coming very soon. Almost got it working: https://www.junia.ai/art