Open Aeon opened 12 years ago
similar problem: autoplay: true autoplayPauseOnHover: true and btnToggleAutoplay is set; Now, whenever i stop autoplay by clicking on btnToggleAutoplay and then hover over any item and mouse out again, it starts autoplaying although it should still be in "stop"-mode.
If you set
autoplayPauseOnHover
totrue
butautoplay
tofalse
, on initialization, you end up with a carousel that is initially paused, but that starts autoplaying as soon as user mouse moves over it and out again.Here's a simple demo of the bug: http://jsfiddle.net/Aeon/AMtFn/1/
Open console and note that the carousel is initially paused, but once you mouse over it and mouse out, autoplay starts and
isAutoplaying
is now true.Here's the demo after my fix: http://jsfiddle.net/Aeon/AMtFn/2/
Thanks for the great project, it's very nicely done!
PS. I wasn't sure what you use for minification, so I did not update the minified version of the code.