Closed tombryden closed 6 months ago
Thanks @tombryden for a complete bug report. I'll look into it when I get the chance.
Best, David
Hi @tombryden,
Would you mind testing the following CodeSandbox and see if it behaves as expected now? Please let me know if you intend to test it or not so you don't leave me hanging. Thanks!
Best, David
Hi @davidjerleke - just tested now, seems to be working as expected. Thanks!
@tombryden thank you for confirming 👍🏻.
Cheers, David
@tombryden a bug fix for this was just released in v8.0.0-rc16
.
Bug is related to
Embla Carousel version
v8.0.0-rc15
Describe the bug
With stopOnMouseEnter set to
true
and stopOnInteraction set tofalse
, dragging the carousel without the mouse leaving the carousel container causes autoplay to begin scrolling despite the mouse not leaving the carousel container. Here is a gif showing this behaviourCodeSandbox
https://codesandbox.io/p/github/tombryden/embla-autoplay-bug/mouse-enter-bug
Steps to reproduce
Expected behavior
Autoplay should not restart after drag interaction with
stopOnMouseEnter
set totrue