Ian

Results 342 comments of Ian

I suspect it's because it's using an old version of Snap on there. Not sure I would expect it to be updated soon. Is there a separate issue you are...

Maybe this is of some use... https://www.npmjs.com/package/react-snap-svg I'm not sure if that applies to native.

I wouldn't use 0.5.1, use the dev branch 0.5.2.

Does seem a bit odd...couple of workarounds in the meantime may be to either call element.node.getBBox() or put the use element inside a g element and call getBBox() on that.

This just comes from whatever the browser thinks it is. Eg if you add console.log(text.node.getBBox()) you will see it's the same. x,y are the positions of the text baseline.

Have you tried with a different version of Snap (0.5.2 on the dev branch or 0.4.1) out of interest ?

Could you put a screenshot up maybe (with which browser and device?). Looks fine for me, so may be helpful to see what you are seeing.

You need to incorporate the existing transform for that. I created an alternate drag plugin a while back that may be of some use to highlight it. http://svg.dabbles.info/snaptut-dragplugin.html I'm not...