Closed cdatehortuab closed 4 years ago
@gl0gl0 Any update on this?
Hi @cdatehortuab ! Sorry I haven't get back to you until now. I'm gonna take a look at this, thanks for the thorough explanation of the bug :). I believe this just started happening after I updated some dependencies in the last version. Probably previous version works fine but dependencies are old. I'll get back as soon as I have an update on this.
This was fixed on version 2.0.3
Thanks @cdatehortuab the change of the flags from ||
to &&
did the trick. Not sure why I had an ||
before 🤔 but hopefully it won't impact on anything else 😄
¡Thanks!
As the title says when you move your mouse cursor from inside the carousel to an arrow and immediately click on the arrow, it doesn't work.
To reproduce:
You will see that the carousel doesn't move.
The cause of this probably is that in the
<ul>
tag onrender
function of the component, there is a listener foronMouseLeave
event that is not prevented to be executed when the user is not dragging. (Probably the condition to attach this event and other event listeners related with drag is incorrect: should bedragging && !disableSwipeEvents
and not the currentdragging && !disableSwipeEvents
)