Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Feature request: operate on specific elements in an svg  #31

@brmscheiner

Description

@brmscheiner

At the moment, attempting to morph inner svg elements gives an error. For example

<MorphReplace>
    <path
        key={this.pathKey}
        d={pathDefinition}
        className={curveStyles}
    />
</MorphReplace>

results in Uncaught TypeError: Cannot read property 'children' of undefined (caught in normizeSvg.js because findSvgRoot returns undefined).

Allowing this would be cool for applications such as data visualization. In my case animation is already handled for other svg elements and I just want to morph one particular path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions