-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoplay resumes before mouse has left the carousel container with stopOnMouseEnter set to true #644
Comments
Thanks @tombryden for a complete bug report. I'll look into it when I get the chance. Best, |
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, |
Hi @davidjerleke - just tested now, seems to be working as expected. Thanks! |
@tombryden thank you for confirming 👍🏻. Cheers, |
@tombryden a bug fix for this was just released in |
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
The text was updated successfully, but these errors were encountered: