Is it possible to prevent an image moving when dragging?
I have dragThreshold enabled and everything works great. I just don't want the image to move when dragging, i'd like it to instantly switch to the next image instead of having the image move slightly beforehand. This is causing the next slide to be anchored to where the previous slide moved to before it moved to the next slide.
Is this possible?
Just a friendly bump :) @jedrzejchalubek
Hi @javedbartlett , to prevent an image from being dragged away, you can use the draggable global attribute, MDN. <img draggable="false" .. />
Hi @ilpert , I'd like it to be draggable, so that the image transitions when dragging. However, I dont want the animation of the image moving - if that makes sense?
Hi @javedbartlett, had the same problem as you and using the draggable attribute I've managed to solve it . Make a try
hey @ilpert, would you mind elaborating on how you used the attribute?
hey @ilpert, would you mind elaborating on how you used the attribute?
Hi, you can use the attribute like this <img draggable="false" src="xxx".jpg />