Propeller
Propeller copied to clipboard
Doesn't work on an svg element
Ok, so I have an svg image inline in my html and an element in that svg I want to be able to drag and rotate. I have an id on the <g>
element I want to rotate and I have set up the js. If I use a speed of 1, the element rotates correctly and looks good. I can set inertia and everything. The problem occurs when I try and drag the element to rotate it manually. It simply stops and I can't drag it anywhere.
Is this a bug that could be fixed or should I separate the element from the svg into it's own svg that I can rotate?
Thanks
Could you make a CodePen or gist or repo for this?
I'm seeing the same issue- svg elements will rotate (with inertia) until you click, while a regular div element behaves correctly.
http://codepen.io/zrpnr/pen/VmwRdL
Thanks for the demo zrpnr, that's exactly the issue I'm having. Sorry I never posted my own codepen.