Skip to content

No way to set SVG transform-origin attribute? #11265

Closed
@rosskhanas

Description

@rosskhanas

There is no transformOrigin in a list of supported SVG attributes actually, but it is(transform-origin) supported in DOM.

Current behavior?

Attribute transformOrigin is ignored and a warning is shown in a console that the property is not not supported.

https://jsfiddle.net/4L9sksjx/

It is possible to set transform-origin but there is another error that the attribute is not valid of course, but it is set to the DOM and makes the spinner look correct.

Expected behavior?

The attribute should be set to the g tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions