dshongphuc / magic-mouse-js

A lightweight javascript library to create some amazing effects for the mouse (cursor) on your website - MagicMouse.js : https://magicmousejs.web.app/
MIT License
389 stars 60 forks source link

Issue when dragging SVG #26

Open mrizinos opened 2 years ago

mrizinos commented 2 years ago

Great project, a performant solution for custom cursors was exactly what i needed. I am facing an issue when i'm dragging an SVG element. As you can see in the attached pen if you drag one of the handles, the drag functionality works but the cursor doesn't follow.

https://codepen.io/bahtadu/pen/mdXqmpa

dshongphuc commented 2 years ago

@mrizinos Look like the Draggable plugin triggers another event when you drag, I will try to dive into this. Thanks for reporting