Image taking me to link when dragged - How do I fix this?

as the question suggests, i’ve been struggling trying to fix a draggable image on my website. when i drag it, it takes me to the hyperlink even though i only want it to do so when it’s clicked. how do i stop this from happening? thanks!

Click events will interfere with each other here. Dragging will be activated upon click—same goes to the link.

An idea :bulb:: you can remove the draggable native option and leave just the Link. Then include the ‘dragging’ via CSS.

1 Like