Hi,
I am having an issue animating/tweening the width of a rect element within an SVG.
When using scaleX with a percentage value, the rect animated perfectly, however the SVG stroke scales with the box, which is not ideal, I would also prefer to specify a specific value as opposed to a percentage.
When using width with a pixel value (without appending "px"), the rect does not animate. If you inspect the element you will notice the animation being applied to the correct element, however the value being applied to the rect is specified in pixels with the "px" appended, which is not a value SVG elements recognise/respond to.
I hope my explanation makes sense. If anyone can shed some light on this it would be greatly appreciated.
Thank you.