Ahh, your solution is just so close, unfortunately I found a small issue. I need this solution because I am going to be using Snap with a touch device and I want to get .SVGs that are loaded into the page to be able to follow a touch. I have to translate the elements to get them in the right place when they are loaded (that is where the group transforms happen). Your new technique works if there is an initial offset and then only a single event (like a button press) to move them to a specific point. Unfortunately, with a touchevent, the
Matrix.invert() gets called again and again (flipping itself each time), this makes the .svg go crazy. Check out this fiddle:
The cap follows the mouse at first, but if you switch the function from move(x, dx, y, dy) to moveTo(x, dx, y, dy) (way down at the bottom) you will see the issue.
Thank you so much for your help.
P.S. How did you get that embedded code area in your previous post?
Thanks